:root {
  --ink: #18201d;
  --muted: #69716d;
  --paper: #f2f0e9;
  --surface: #faf9f5;
  --line: #d7d9d1;
  --accent: #e95f37;
  --accent-dark: #bd3e1f;
  --sage: #dce6dc;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 14px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.page-shell { max-width: 1440px; margin: 0 auto; overflow: hidden; background: var(--paper); }
.site-header { min-height: 76px; padding: 0 5.5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand, .desktop-nav, .header-cta, .hero-actions, .site-footer, .project-topline, .section-heading, .project-filters, .project-result, .tech-tags, .hero-index { display: flex; align-items: center; }
.brand { gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--surface); background: var(--ink); font: 500 11px var(--mono); letter-spacing: -.08em; }
.desktop-nav { gap: 33px; margin-left: auto; margin-right: 45px; color: var(--muted); font-size: 12px; font-weight: 700; }
.desktop-nav a:hover, .contact-block a:hover, .site-footer a:hover { color: var(--accent-dark); }
.header-cta { gap: 9px; font-size: 12px; font-weight: 800; }
.header-cta span { color: var(--accent); font-size: 18px; }
.menu-toggle, .mobile-nav { display: none; }
.hero { min-height: 480px; padding: 78px 8.5% 60px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 7%; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 90% 25%, rgba(220,230,220,.75), transparent 34%), var(--paper); }
.eyebrow, .section-label, .project-tag, .project-year, .section-number, .heading-note, .timeline-year { color: var(--muted); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 23px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #5b9d69; box-shadow: 0 0 0 4px rgba(91,157,105,.15); }
h1 { max-width: 790px; margin: 0; font-size: clamp(43px, 5.3vw, 78px); line-height: .98; letter-spacing: -.075em; font-weight: 800; }
h1 em { color: var(--accent); font-style: normal; }
.hero-intro { max-width: 490px; margin: 27px 0 32px; color: #56605a; font-size: 16px; line-height: 1.65; }
.hero-actions { gap: 12px; flex-wrap: wrap; }
.button { padding: 12px 16px; border: 1px solid var(--ink); font-size: 11px; font-weight: 800; transition: .2s ease; }
.button span { margin-left: 14px; font-size: 15px; }
.button-primary { color: var(--surface); background: var(--ink); }
.button-primary:hover { background: var(--accent); border-color: var(--accent); }
.button-secondary { border-color: var(--line); }
.button-secondary:hover { border-color: var(--ink); background: var(--surface); }
.hero-aside { align-self: end; perspective: 1000px; }
.hero-3d-scene { position: relative; height: 300px; transform-style: preserve-3d; transition: transform .2s ease-out; }
.scene-grid { position: absolute; inset: 32px 0 20px; transform: rotateX(62deg) translateZ(-60px); transform-origin: center bottom; background: linear-gradient(rgba(24,32,29,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(24,32,29,.14) 1px, transparent 1px); background-size: 24px 24px; opacity: .5; }
.scene-orbit { position: absolute; top: 28px; left: 50%; border: 1px solid rgba(24,32,29,.22); border-radius: 50%; transform-style: preserve-3d; }
.scene-orbit-one { width: 295px; height: 295px; transform: translateX(-50%) rotateX(66deg) rotateZ(-18deg) translateZ(-16px); }
.scene-orbit-two { width: 215px; height: 215px; top: 68px; transform: translateX(-50%) rotateX(66deg) rotateZ(38deg) translateZ(10px); border-color: rgba(233,95,55,.5); }
.profile-card-3d { position: absolute; top: 51px; left: 50%; width: 205px; height: 205px; padding: 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #e4eee4, #cbd9ce); box-shadow: 18px 24px 0 rgba(24,32,29,.13), 0 22px 38px rgba(24,32,29,.18); transform: translateX(-50%) rotateX(8deg) rotateY(-13deg) translateZ(50px); transform-style: preserve-3d; transition: transform .2s ease-out; }
.profile-card-3d::before { content: ""; position: absolute; inset: 11px; z-index: 2; border: 1px solid rgba(24,32,29,.2); background: linear-gradient(180deg, transparent 54%, rgba(24,32,29,.55)); transform: translateZ(2px); pointer-events: none; }
.profile-card-3d::after { content: ""; position: absolute; top: 50%; left: -13px; width: 13px; height: 100%; background: #9eafa3; transform: translateY(-50%) rotateY(-90deg); transform-origin: right center; }
.profile-photo { position: absolute; inset: 12px; z-index: 1; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; object-position: center top; transform: translateZ(4px); }
.card-index { position: absolute; top: 20px; left: 21px; color: var(--muted); font: 9px var(--mono); transform: translateZ(10px); }
.card-role { position: absolute; bottom: 19px; left: 21px; color: var(--muted); font: 9px/1.4 var(--mono); letter-spacing: .08em; transform: translateZ(10px); }
.scene-shadow { position: absolute; left: 50%; bottom: 20px; width: 220px; height: 28px; background: rgba(24,32,29,.2); border-radius: 50%; filter: blur(10px); transform: translateX(-50%) rotateX(70deg) translateZ(-90px); }
.float-chip { position: absolute; z-index: 3; padding: 8px 10px; color: var(--ink); background: var(--surface); border: 1px solid rgba(24,32,29,.15); box-shadow: 5px 7px 0 rgba(24,32,29,.12); font: 9px var(--mono); transform: translateZ(75px); }
.float-chip span { margin-left: 7px; color: var(--accent); }
.chip-react { top: 35px; left: -14px; transform: rotateZ(-8deg) translateZ(75px); }
.chip-api { right: -15px; top: 117px; transform: rotateZ(7deg) translateZ(95px); }
.chip-cloud { left: 3px; bottom: 29px; transform: rotateZ(-5deg) translateZ(105px); }
.portrait-initials { position: relative; z-index: 1; color: var(--accent-dark); font-size: 86px; line-height: 1; letter-spacing: -.12em; font-weight: 800; }
.portrait-note { position: absolute; z-index: 2; right: 20px; bottom: 18px; color: var(--muted); font: 10px/1.5 var(--mono); text-align: right; text-transform: uppercase; }
.portrait-note strong { color: var(--ink); font-weight: 500; }
.hero-index { justify-content: space-between; margin-top: 14px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.hero-index span:first-child { color: var(--accent); font-size: 17px; }
.content-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); padding: 0 5.5%; }
.profile-rail { border-right: 1px solid var(--line); padding: 57px 34px 60px 0; }
.rail-block { margin-bottom: 54px; }
.section-label { margin: 0 0 20px; }
.quick-facts { margin: 0; }
.quick-facts div { padding: 11px 0; border-top: 1px solid var(--line); }
.quick-facts dt { color: var(--muted); font-size: 10px; }
.quick-facts dd { margin: 3px 0 0; font-size: 12px; font-weight: 700; }
.contact-block { display: grid; gap: 8px; }
.contact-block a { width: fit-content; color: #4e5b54; font-size: 11px; border-bottom: 1px solid transparent; }
.availability-block { display: flex; gap: 12px; align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.availability-block p { margin: 0; line-height: 1.5; }
.availability-block strong { color: var(--ink); }
.availability-icon { display: grid; place-items: center; width: 22px; height: 22px; color: var(--surface); background: var(--accent); font-size: 17px; line-height: 1; }
.main-content { padding-left: 7.5%; }
.content-section { padding: 58px 0 65px; border-bottom: 1px solid var(--line); }
.section-heading { gap: 16px; margin-bottom: 30px; }
.section-number { color: var(--accent); }
h2 { margin: 0; font-size: 18px; letter-spacing: -.04em; }
.heading-note { margin-left: auto; }
.summary-copy { max-width: 765px; padding-left: 45px; }
.summary-copy p { max-width: 650px; margin: 0 0 16px; color: #5c6660; }
.summary-copy .lead { color: var(--ink); font-size: 25px; line-height: 1.25; letter-spacing: -.05em; font-weight: 700; }
.competency-list { padding-left: 45px; max-width: 780px; }
.competency-row { display: grid; grid-template-columns: 180px 1fr 78px; align-items: center; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.competency-row strong { color: var(--muted); font: 10px var(--mono); text-align: right; text-transform: uppercase; }
.meter { height: 5px; background: var(--line); }
.meter span { display: block; height: 100%; background: var(--accent); }
.projects-section { padding-bottom: 70px; }
.project-filters { gap: 20px; margin: 0 0 25px 45px; }
.filter-button { padding: 0 0 5px; color: var(--muted); border: 0; border-bottom: 1px solid transparent; background: transparent; cursor: pointer; font: 10px var(--mono); text-transform: uppercase; }
.filter-button:hover, .filter-button.is-active { color: var(--accent-dark); border-color: var(--accent); }
.project-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.project-card { min-height: 350px; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); transition: transform .2s ease, border-color .2s ease; }
.project-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.project-card.is-hidden { display: none; }
.project-topline { justify-content: space-between; }
.project-tag { color: var(--accent-dark); font-size: 9px; }
.project-year { font-size: 9px; }
.project-card h3 { margin: 52px 0 13px; font-size: 23px; letter-spacing: -.06em; }
.project-card h3 span { color: var(--accent); font-size: 16px; }
.project-description { min-height: 83px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.project-result { gap: 10px; margin-top: auto; padding: 17px 0; border-top: 1px solid var(--line); }
.project-result strong { color: var(--accent-dark); font-size: 25px; letter-spacing: -.06em; }
.project-result span { color: var(--muted); font-size: 10px; line-height: 1.2; }
.tech-tags { gap: 5px; flex-wrap: wrap; }
.tech-tags span, .tool-cloud span { padding: 5px 7px; color: #59645d; background: #ecece5; font: 9px var(--mono); }
.skills-table-wrap { overflow-x: auto; padding-left: 45px; }
.skills-table { width: calc(100% - 45px); border-collapse: collapse; text-align: left; font-size: 11px; }
.skills-table th, .skills-table td { padding: 13px 10px; border-top: 1px solid var(--line); }
.skills-table thead th { color: var(--muted); font: 9px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.skills-table tbody th { width: 22%; font-weight: 800; }
.skills-table tbody td:nth-child(2) { color: var(--muted); }
.level-pill { padding: 4px 6px; font: 9px var(--mono); text-transform: uppercase; }
.level-expert { color: #1e6951; background: #dbeee4; }
.level-advanced { color: #92512e; background: #f5e2d7; }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
.compact-section { border-bottom: 0; padding-bottom: 40px; }
.timeline-list { margin: 0; padding: 0 0 0 45px; list-style: none; }
.timeline-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.timeline-year { font-size: 9px; }
.timeline-list strong, .timeline-list span { display: block; }
.timeline-list strong { font-size: 11px; }
.timeline-list div span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.tool-cloud { display: flex; flex-wrap: wrap; gap: 7px; padding-left: 45px; }
.tool-cloud span { padding: 9px 10px; font-size: 10px; }
.highlights-section { padding-bottom: 80px; border-bottom: 0; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-left: 45px; }
.highlight { padding: 24px 0; border-top: 2px solid var(--ink); }
.highlight strong { display: block; color: var(--accent-dark); font-size: 38px; line-height: 1; letter-spacing: -.08em; }
.highlight span { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.site-footer { justify-content: space-between; padding: 22px 5.5%; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); }
.site-footer a { color: var(--ink); }
@media (max-width: 900px) {
  .hero { padding-left: 6%; padding-right: 6%; grid-template-columns: 1fr 260px; gap: 30px; }
  .content-grid { grid-template-columns: 200px minmax(0, 1fr); padding: 0 6%; }
  .main-content { padding-left: 6%; }
  .project-list { grid-template-columns: 1fr; }
  .project-card { min-height: auto; }
  .project-card h3 { margin-top: 32px; }
  .project-description { min-height: auto; margin-bottom: 18px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 65px; padding: 0 5%; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; padding: 7px 0; color: var(--ink); border: 0; background: transparent; font: 10px var(--mono); text-transform: uppercase; }
  .mobile-nav { display: none; padding: 13px 5%; border-bottom: 1px solid var(--line); background: var(--surface); }
  .mobile-nav.is-open { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .mobile-nav a { color: var(--muted); font-size: 10px; font-weight: 700; }
  .hero { min-height: auto; padding: 52px 7% 45px; display: block; }
  h1 { font-size: clamp(42px, 13vw, 65px); }
  .hero-intro { font-size: 14px; }
  .hero-aside { margin-top: 45px; }
  .hero-3d-scene { height: 275px; }
  .profile-card-3d { width: 190px; height: 190px; top: 50px; }
  .scene-orbit-one { width: 270px; height: 270px; }
  .scene-orbit-two { width: 200px; height: 200px; }
  .chip-react { left: 0; }
  .chip-api { right: 0; }
  .portrait-initials { font-size: 67px; }
  .content-grid { display: block; padding: 0 7%; }
  .profile-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding: 35px 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail-block { margin-bottom: 18px; }
  .availability-block { grid-column: 1 / -1; }
  .main-content { padding-left: 0; }
  .content-section { padding: 45px 0; }
  .section-heading { align-items: flex-start; gap: 10px; }
  .section-heading h2 { font-size: 16px; }
  .heading-note { display: none; }
  .summary-copy, .competency-list, .skills-table-wrap, .timeline-list, .tool-cloud, .highlight-grid, .project-filters { padding-left: 0; }
  .summary-copy .lead { font-size: 22px; }
  .competency-row { grid-template-columns: 1fr 72px; gap: 11px; }
  .competency-row .meter { grid-column: 1 / -1; grid-row: 2; }
  .project-filters { margin-left: 0; }
  .skills-table { width: 650px; }
  .bottom-grid { display: block; }
  .highlight-grid { gap: 8px; }
  .highlight strong { font-size: 29px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 9px; padding: 20px 7%; }
}
