:root { --accent: #0b6b53; --photo-filter: grayscale(1) contrast(1.08); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #f3f2f2; }
body { margin: 0; background: #f3f2f2; color: #0b6b53; font-family: "Archivo", system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #201e1d; text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--accent); color: #f3f2f2; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blip { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ==========================================================================
   Extracted component styles
   Everything below replaces the former inline style="" / style-hover=""
   attributes. Hover states are plain CSS :hover rules now.
   ========================================================================== */

/* --- shared -------------------------------------------------------------- */
.muted { color: #7d7979; }
.rule { height: 2px; background: #d7d3d3; }
.diamond { color: var(--accent); }

.section { border-bottom: 2px solid #201e1d; scroll-margin-top: 64px; }
.section-head { display: flex; align-items: baseline; gap: 16px; }
.section-head--pad { padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(20px, 2vw, 32px); }
.section-num { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.section-title { font-size: clamp(28px, 3.4vw, 44px); text-transform: uppercase; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #7d7979; }
.body-text { max-width: 66ch; color: #444141; }

.tag-outline { border: 2px solid #201e1d; padding: 7px 13px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tag-solid { background: #201e1d; color: #f3f2f2; padding: 6px 11px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tag-soft { border: 2px solid #d7d3d3; padding: 6px 11px; font-size: 12px; font-weight: 600; transition: border-color .18s, color .18s; }
.tag-soft:hover { border-color: var(--accent); color: var(--accent); }

/* --- intro screen -------------------------------------------------------- */
.intro { min-height: 100vh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-bottom: 2px solid #201e1d; }
.intro-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 2px solid #201e1d; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; animation: fade .6s both; }
.intro-body { display: flex; flex-wrap: wrap; align-items: stretch; }
.intro-main { flex: 3 1 460px; container-type: inline-size; padding: clamp(22px, 3vw, 46px) clamp(24px, 3.2vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: clamp(24px, 3vh, 48px); min-width: 0; }

.intro-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #7d7979; margin-bottom: clamp(14px, 1.6vw, 22px); animation: rise .7s .05s both; }
.intro-eyebrow-rule { width: 30px; height: 2px; background: var(--accent); display: block; }

.intro-name { font-size: clamp(34px, min(16.4cqw, 14vh), 132px); line-height: .84; letter-spacing: -0.045em; text-transform: uppercase; overflow: hidden; }
.intro-name span { display: block; white-space: nowrap; }
.intro-name span:first-child { padding-bottom: 0.1em; animation: rise .85s .1s both; }
.intro-name span:last-child { animation: rise .85s .2s both; }

.intro-role-row { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(14px, 1.8vw, 22px); animation: rise .8s .34s both; }
.intro-role { font-size: clamp(15px, 3.1cqw, 26px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.intro-role-rule { flex: 1; height: 4px; background: var(--accent); transform-origin: left; animation: wipe .9s .46s cubic-bezier(.2,.8,.2,1) both; }

.intro-facts { display: grid; gap: clamp(20px, 2.4vh, 32px); animation: rise .8s .52s both; }
.intro-lede { max-width: 44ch; font-size: clamp(16px, 2.2cqw, 21px); line-height: 1.45; }

.fact-list { margin: 0; border-top: 2px solid #201e1d; padding-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px 24px; min-width: 0; }
.fact { min-width: 0; }
.fact-label { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #7d7979; }
.fact-value { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.fact-value--wrap { overflow-wrap: anywhere; }

.intro-actions { display: flex; flex-wrap: wrap; gap: 2px; background: #201e1d; border: 2px solid #201e1d; width: fit-content; max-width: 100%; animation: rise .8s .68s both; }
.btn { flex: 1 1 0; width: 220px; padding: 14px 22px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: center; transition: background .18s, color .18s; }
.btn-primary { appearance: none; border: 0; cursor: pointer; font-family: inherit; background: var(--accent); color: #f3f2f2; display: flex; align-items: center; justify-content: center; gap: 12px; }
.btn-primary:hover { background: #201e1d; }
.btn-ghost { background: #f3f2f2; color: #201e1d; }
.btn-ghost:hover { background: #201e1d; color: #f3f2f2; text-decoration: none; }

.intro-nav { flex: 2 1 300px; border-left: 2px solid #201e1d; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(72px, 1fr); min-width: 0; animation: fade .9s .3s both; }
.nav-item { appearance: none; border: 0; border-bottom: 2px solid #201e1d; cursor: pointer; font-family: inherit; text-align: left; background: transparent; color: #201e1d; padding: clamp(16px, 2vw, 26px) clamp(18px, 2vw, 30px); display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; align-items: center; gap: 12px; transition: background .22s, color .22s; }
.nav-item:hover { background: var(--accent); color: #f3f2f2; }
.nav-item-num { font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.nav-item-label { font-size: clamp(16px, 1.5vw, 21px); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; }
.nav-item-arrow { font-size: 15px; }

.intro-stack { border-top: 2px solid #201e1d; background: #201e1d; color: #f3f2f2; display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 12px clamp(24px, 3.2vw, 48px); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

/* --- CV shell ------------------------------------------------------------ */
.cv { animation: fade .5s both; }
.cv-header { position: sticky; top: 0; z-index: 40; background: #f3f2f2; border-bottom: 2px solid #201e1d; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 6px clamp(16px, 3vw, 40px); }
.cv-back { appearance: none; border: 0; background: transparent; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 18px 0; display: flex; align-items: center; gap: 12px; color: #201e1d; transition: color .18s; }
.cv-back:hover { color: var(--accent); }
.cv-nav { display: flex; gap: clamp(12px, 2vw, 30px); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; flex-wrap: wrap; justify-content: flex-end; }
.cv-nav a { color: #201e1d; padding: 18px 0; border-bottom: 3px solid transparent; transition: border-color .18s; }
.cv-nav a:hover { color: #201e1d; border-bottom-color: var(--accent); text-decoration: none; }

/* --- summary ------------------------------------------------------------- */
.cv-summary { padding: clamp(40px, 6vw, 88px) clamp(20px, 4vw, 56px) clamp(32px, 4vw, 56px); border-bottom: 2px solid #201e1d; }
.cv-summary-row { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: end; }
.cv-summary-main { flex: 3 1 420px; min-width: 0; }
.cv-summary-main .kicker { margin-bottom: 20px; }
.cv-summary-lede { font-size: clamp(20px, 2.4vw, 34px); font-weight: 600; line-height: 1.28; letter-spacing: -0.02em; max-width: 30ch; }
.cv-summary-note { margin-top: 18px; max-width: 62ch; font-size: 17px; color: #444141; }
.cv-contact-list { flex: 1 1 220px; margin: 0; padding: 0 0 0 20px; list-style: none; display: grid; gap: 12px; font-size: 14px; border-left: 2px solid #201e1d; }
.cv-contact-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #7d7979; }

/* --- about --------------------------------------------------------------- */
.about { display: flex; flex-wrap: wrap; }
.about-side { flex: 1 1 320px; border-right: 2px solid #201e1d; padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.about-photo { position: relative; width: 100%; min-width: 0; aspect-ratio: 2 / 3; overflow: hidden; filter: var(--photo-filter); }
.about-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-main { flex: 2 1 420px; min-width: 0; padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 48px); display: flex; flex-direction: column; gap: 26px; }
.about-title { font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; }
.about-lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 60ch; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* --- experience ---------------------------------------------------------- */
.job { border-top: 2px solid #201e1d; display: flex; flex-wrap: wrap; transition: background .25s; }
.job:hover { background: #eae9e9; }
.job-meta { flex: 1 1 180px; border-right: 2px solid #201e1d; padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px); }
.job-year { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.job-year--now { color: var(--accent); }
.job-year--past { color: #7d7979; }
.job-company { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7d7979; }
.job-place { font-size: 13px; color: #7d7979; }
.job-body { flex: 3 1 380px; min-width: 0; padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px); }
.job-role { font-size: clamp(21px, 2vw, 27px); text-transform: uppercase; }
.job-list { margin: 20px 0 0; padding-left: 20px; list-style: square; display: grid; gap: 9px; max-width: 70ch; }
.job-list--sub { margin-top: 12px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.job-projects { margin-top: 22px; display: grid; gap: 22px; }
.job-project-title { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.job-project-dates { color: #7d7979; font-weight: 600; }

/* --- toolbox & education ------------------------------------------------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; background: #201e1d; border-top: 2px solid #201e1d; }
.tool-card { background: #f3f2f2; padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px); }
.tool-card--dark { background: #201e1d; color: #f3f2f2; }
.tool-card-title { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #7d7979; }
.tool-card--dark .tool-card-title { color: #9b9797; }
.tool-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 17px; font-weight: 600; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.cert-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 16px; font-weight: 600; }
.cert-list li { display: flex; gap: 10px; }

.edu { border-top: 2px solid #201e1d; }
.edu-label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #7d7979; padding: 16px clamp(20px, 2.5vw, 32px); }
.edu-grid { border-top: 2px solid #201e1d; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; background: #201e1d; }
.edu-card { background: #f3f2f2; padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px); }
.edu-school { font-size: 18px; font-weight: 800; }
.edu-years { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .1em; margin-top: 4px; }
.edu-years--past { color: #7d7979; }
.edu-text { margin-top: 6px; color: #444141; }

/* --- services ------------------------------------------------------------ */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; background: #201e1d; border-top: 2px solid #201e1d; }
.service-card { background: #f3f2f2; padding: clamp(26px, 3vw, 40px) clamp(20px, 2.5vw, 34px); display: grid; gap: 14px; align-content: start; transition: background .25s, color .25s; }
.service-card:hover { background: var(--accent); color: #f3f2f2; }
.service-num { font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.service-title { font-size: clamp(20px, 1.8vw, 25px); }

/* --- contact & footer ---------------------------------------------------- */
.contact { background: var(--accent); color: #f3f2f2; padding: clamp(44px, 6vw, 96px) clamp(20px, 4vw, 56px); scroll-margin-top: 64px; }
.status { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px; }
.status-dot { width: 9px; height: 9px; background: #f3f2f2; display: block; animation: blip 1.8s infinite; }
.contact-title { font-size: clamp(38px, 8vw, 116px); line-height: .9; letter-spacing: -0.045em; text-transform: uppercase; max-width: 14ch; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; background: rgba(243,242,242,.45); margin-top: clamp(32px, 4vw, 56px); border: 2px solid #f3f2f2; }
.contact-link { background: var(--accent); color: #f3f2f2; padding: 22px 24px; display: grid; gap: 6px; transition: background .2s, color .2s; }
.contact-link:hover { background: #f3f2f2; color: #201e1d; text-decoration: none; }
.contact-link-label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.contact-link-value { font-size: clamp(15px, 1.4vw, 19px); font-weight: 800; }

.cv-footer { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding: 22px clamp(20px, 4vw, 56px); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7d7979; }
.to-top { appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit; letter-spacing: .14em; color: #7d7979; transition: color .18s; }
.to-top:hover { color: var(--accent); }
