:root {
  --ink: #171717;
  --muted: #6f6b64;
  --line: #d8d3c9;
  --paper: #f4f0e8;
  --white: #fbfaf7;
  --lime: #d9f06e;
  --coral: #ed745e;
  --blue: #a5dce4;
  --max: 1180px;
}

[data-theme="dark"] {
  --muted: #a7adb5;
  --line: #37414c;
  --paper: #12161c;
  --white: #1b2129;
  --blue: #29434d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, sans-serif; font-size: 15px; line-height: 1.65; transition: background .25s ease, color .25s ease; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; width: 100%; margin: 0; padding: 0 max(40px, calc((100% - var(--max)) / 2)); height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { font-size: 19px; font-weight: 800; letter-spacing: -.08em; }
.brand span { color: var(--coral); }
.nav { display: flex; gap: 30px; margin-left: 90px; }
.nav a, .header-link, .text-link { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .02em; }
.nav a { color: var(--muted); transition: color .2s ease; }
.nav a:hover, .text-link:hover { color: var(--coral); }
.menu-toggle { display: none; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 17px; line-height: 1; }
.header-link { border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.theme-toggle { display: inline-flex; width: 116px; height: 34px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; padding: 0; font-family: "DM Mono", monospace; font-size: 10px; white-space: nowrap; }
.theme-toggle:hover { border-color: var(--coral); color: var(--coral); }
.theme-icon { display: inline-grid; width: 16px; height: 16px; place-items: center; font-size: 15px; line-height: 1; }
.header-link span, .text-link span, .contact-email span { color: var(--coral); padding-left: 5px; }
.hero { min-height: 665px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 100px; padding: 88px 0 110px; }
.eyebrow, .section-number, .project-type, .visual-coordinate, .pending-label, .learning-note, .facts span { font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow, .section-number { color: var(--coral); }
.hero h1 { font-size: clamp(45px, 6.4vw, 85px); letter-spacing: -.08em; line-height: .98; margin: 27px 0 35px; font-weight: 800; }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.06em; }
.hero-intro { max-width: 510px; font-size: 18px; line-height: 1.6; color: #4b4843; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; gap: 22px; padding: 14px 18px; font-family: "DM Mono", monospace; font-size: 11px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark span { color: #ffffff; font-size: 17px; line-height: 10px; }
.hero-visual { position: relative; min-height: 400px; background: transparent; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-visual::before { content: ""; position: absolute; width: 270px; height: 270px; border: 1px solid rgba(23, 23, 23, .3); border-radius: 50%; }
.hero-visual::after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(23, 23, 23, .2); border-radius: 50%; }
.profile-photo { position: relative; z-index: 1; width: min(76%, 330px); height: 100%; object-fit: contain; object-position: center; transform: scale(1.35); transform-origin: center 38%; }
.visual-note, .visual-coordinate { position: absolute; z-index: 1; color: var(--ink); padding: 9px 12px; }
.visual-note { background: var(--lime); }
.visual-coordinate { background: var(--coral); }
.visual-note { top: 21px; right: 21px; font-family: "DM Mono", monospace; font-size: 10px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #5c9637; }
.visual-coordinate { bottom: 20px; left: 20px; line-height: 1.5; }
.intro-strip { background: var(--ink); color: var(--white); padding: 110px 0 116px; }
.intro-grid, .journey-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.intro-strip .section-number, .journey-section .section-number { color: var(--lime); }
h2 { font-size: clamp(37px, 5vw, 65px); letter-spacing: -.08em; line-height: 1.02; margin: 0 0 35px; }
h2 span { color: var(--coral); }
.large-copy { max-width: 680px; color: #c5c1b9; font-size: 20px; line-height: 1.55; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; border-top: 1px solid #42403c; margin-top: 65px; padding-top: 18px; }
.facts span { display: block; color: var(--coral); margin-bottom: 12px; }
.facts strong, .facts small { display: block; }
.facts small { color: #929088; font-size: 12px; margin-top: 2px; }
.projects-section { padding: 110px 0 125px; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: baseline; margin-bottom: 50px; }
.section-aside { margin: 0; color: var(--muted); font-family: "DM Mono", monospace; font-size: 11px; }
.project-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.project-card { min-height: 420px; display: block; padding: 30px; background: var(--white); }
.project-featured { grid-column: span 2; min-height: 460px; background: var(--blue); }
.project-index { font-family: "DM Mono", monospace; font-size: 11px; color: var(--coral); }
.project-type { color: var(--muted); margin: 0 0 22px; }
.project-card h3 { font-size: 29px; line-height: 1.08; letter-spacing: -.06em; margin: 0 0 24px; }
.project-card p { max-width: 570px; color: #56524b; margin: 0 0 22px; }
.project-media { position: relative; height: 265px; margin-bottom: 25px; overflow: hidden; background: #d2ccc0; }
.project-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(.95); }
.project-carousel { background: #d2ccc0; }
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform .35s ease; }
.carousel-track img { flex: 0 0 100%; min-width: 100%; filter: none; object-fit: cover; }
.carousel-button { position: absolute; top: 50%; z-index: 2; width: 30px; height: 30px; transform: translateY(-50%); border: 1px solid rgba(23,23,23,.25); border-radius: 50%; background: rgba(251,250,247,.9); color: var(--ink); cursor: pointer; font-size: 16px; line-height: 1; }
.carousel-button:hover { background: var(--lime); }
.carousel-prev { left: 10px; }.carousel-next { right: 10px; }
.carousel-dots { position: absolute; right: 12px; bottom: 12px; left: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.carousel-dot { width: 7px; height: 7px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: rgba(251,250,247,.75); cursor: pointer; }
.carousel-dot.is-active { background: var(--coral); }
.project-media span { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; color: var(--ink); background: var(--lime); font-family: "DM Mono", monospace; font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.project-featured .project-media { height: 320px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 27px 0; }
.tag-list span { border: 1px solid rgba(23,23,23,.22); padding: 5px 8px; font-family: "DM Mono", monospace; font-size: 10px; }
.project-toggle { background: none; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); cursor: pointer; padding: 0 0 4px; font-family: "DM Mono", monospace; font-size: 10px; }
.project-toggle span { display: inline-block; margin-left: 14px; font-size: 16px; transition: transform .2s ease; }
.project-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.project-details { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(23,23,23,.2); }
.project-details p { margin-bottom: 10px; font-size: 13px; }
.module-line { font-family: "DM Mono", monospace; font-size: 10px !important; }
.project-pending { background: #e8e2d6; }
.pending-label { display: inline-block; color: var(--muted); border-bottom: 1px solid var(--muted); padding-bottom: 3px; }
.journey-section { background: var(--blue); padding: 110px 0 120px; }
.journey-content { padding-top: 5px; }
.journey-content .large-copy { color: var(--ink); max-width: 590px; }
.learning-list { margin: 55px 0 30px; border-top: 1px solid rgba(23,23,23,.3); }
.learning-list a { display: flex; align-items: center; border-bottom: 1px solid rgba(23,23,23,.3); padding: 13px 0; transition: padding-left .2s ease; }
.learning-list a:hover { padding-left: 8px; }
.learning-list span { font-family: "DM Mono", monospace; color: var(--coral); font-size: 11px; width: 50px; }
.learning-list strong { display: flex; flex: 1; flex-direction: column; font-size: 20px; letter-spacing: -.04em; }
.learning-list small { color: #4a5e60; font-family: "DM Mono", monospace; font-size: 10px; font-weight: 400; letter-spacing: .02em; }
.learning-list b { color: var(--coral); font-family: "DM Mono", monospace; font-size: 17px; font-weight: 400; }
.learning-note { color: #4a5e60; margin: 0; }.learning-note a { color: var(--ink); border-bottom: 1px solid var(--ink); }
.certifications-section { background: var(--white); padding: 110px 0 120px; }
.certificate-category + .certificate-category { margin-top: 70px; }
.category-heading { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-bottom: 12px; }
.category-heading h3 { margin: 0; font-size: 27px; letter-spacing: -.06em; }
.category-heading span { color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.certificate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.certificate-grid-single { grid-template-columns: minmax(0, 390px); }
.certificate-card { background: var(--paper); border: 1px solid var(--line); padding: 13px; }
.certificate-preview { height: 150px; overflow: hidden; background: #252525; }
.certificate-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.certificate-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin: 17px 0 14px; }
.certificate-heading .project-type { margin: 0; color: var(--ink); line-height: 1.35; }
.certificate-heading > span { color: var(--coral); font-family: "DM Mono", monospace; font-size: 10px; }
.certificate-link { display: inline-block; border-bottom: 1px solid var(--ink); padding-bottom: 3px; font-family: "DM Mono", monospace; font-size: 10px; }
.capabilities-section { padding: 110px 0 120px; }
.capabilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; border-top: 1px solid var(--line); padding-top: 26px; }
.capability-column h3 { font-size: 21px; letter-spacing: -.05em; margin: 0 0 20px; }
.skill-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pills span { border: 1px solid var(--line); border-radius: 999px; color: var(--muted); padding: 7px 11px; font-family: "DM Mono", monospace; font-size: 10px; line-height: 1.35; }
.experience-section { background: var(--white); padding: 110px 0 125px; }
.experience-list { border-top: 1px solid var(--line); }
.experience-list article { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.experience-list h3 { font-size: 27px; line-height: 1.1; letter-spacing: -.06em; margin: 0 0 6px; }
.experience-list p { color: var(--muted); margin: 0; }
.experience-list .project-type { margin-bottom: 12px; }
.contact-section { background: var(--coral); padding: 105px 0 100px; }
.contact-section .section-number { color: var(--ink); }
.contact-section h2 { margin-top: 45px; max-width: 700px; }
.contact-email { display: inline-block; font-family: "DM Mono", monospace; font-size: clamp(15px, 2vw, 22px); border-bottom: 1px solid var(--ink); padding-bottom: 7px; }
.button-profile { margin-top: 28px; color: #f4f0e8; border: 1px solid currentColor; background: transparent; }
.button-profile span { color: var(--coral); font-size: 17px; line-height: 10px; }
.contact-meta { display: flex; justify-content: space-between; margin-top: 95px; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.site-footer { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; padding: 25px 0; font-family: "DM Mono", monospace; font-size: 10px; color: var(--muted); }
.site-footer a { color: var(--ink); }
[data-theme="dark"] .hero-intro { color: #c0c6cd; }
[data-theme="dark"] { background: #12161c; }
[data-theme="dark"] body { background: #12161c !important; color: #f4f0e8; }
[data-theme="dark"] .site-header { border-color: #37414c; }
[data-theme="dark"] .menu-toggle { color: #f4f0e8; border-color: #586574; }
[data-theme="dark"] .nav { border-color: #37414c; }
[data-theme="dark"] .nav a { color: #f4f0e8; }
[data-theme="dark"] .theme-toggle { color: #f4f0e8; border-color: #586574; }
[data-theme="dark"] .header-link { border-color: #f4f0e8; }
[data-theme="dark"] .intro-strip { color: #f4f0e8; }
[data-theme="dark"] .button-dark { color: #171717; background: var(--lime); }
[data-theme="dark"] .button-dark span { color: #171717; }
[data-theme="dark"] .hero-visual::before { border-color: rgba(255, 255, 255, .22); }
[data-theme="dark"] .hero-visual::after { border-color: rgba(255, 255, 255, .14); }
[data-theme="dark"] .project-card p { color: #c0c6cd; }
[data-theme="dark"] .project-pending { background: #252c35; }
[data-theme="dark"] .tag-list span { border-color: rgba(255,255,255,.22); }
[data-theme="dark"] .project-details { border-color: rgba(255,255,255,.2); }
[data-theme="dark"] .learning-list a, [data-theme="dark"] .learning-list { border-color: rgba(255,255,255,.25); }
[data-theme="dark"] .learning-list small, [data-theme="dark"] .learning-note { color: #b8c5c8; }
[data-theme="dark"] .journey-content .large-copy { color: #f4f0e8; }
[data-theme="dark"] .certification-card, [data-theme="dark"] .certificate-card { background: #181e25; }
[data-theme="dark"] .category-heading { border-color: var(--line); }
[data-theme="dark"] .certificate-heading .project-type { color: #f4f0e8; }
[data-theme="dark"] .certificate-link { color: #f4f0e8; border-color: #f4f0e8; }
[data-theme="dark"] .project-toggle { color: #f4f0e8; border-color: #f4f0e8; }
[data-theme="dark"] .capability-column p, [data-theme="dark"] .experience-list p { color: #b8bec6; }
[data-theme="dark"] .experience-section { background: #171c23; }
[data-theme="dark"] .contact-section { color: var(--ink); }
[data-theme="dark"] .site-footer a { color: #f4f0e8; }
.reveal { animation: reveal .7s both; }
.delay-1 { animation-delay: .08s; }.delay-2 { animation-delay: .16s; }.delay-3 { animation-delay: .24s; }
@keyframes reveal { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
  .section-shell, .site-footer { width: min(100% - 40px, var(--max)); }
  html { scroll-padding-top: 72px; }
  .site-header { height: 72px; padding: 0 20px; }.nav { position: fixed; top: 72px; left: 0; right: auto; width: 100vw; max-height: calc(100vh - 72px); overflow-y: auto; display: none; flex-direction: column; gap: 0; margin-left: 0; padding: 8px 20px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 25px rgba(23,23,23,.12); }.nav.is-open { display: flex; }.nav a { padding: 12px 16px; }.menu-toggle { display: inline-flex; margin-left: auto; margin-right: 8px; }.header-link { display: none; font-size: 10px; }.theme-label { display: none; }.theme-toggle { width: 34px; height: 34px; }
  .hero { grid-template-columns: 1fr; gap: 55px; min-height: 0; padding: 75px 0 80px; }.hero-visual { min-height: 330px; order: -1; }
  .hero h1 { font-size: clamp(43px, 13vw, 70px); }.hero-intro { font-size: 16px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .intro-strip, .projects-section, .journey-section, .certifications-section, .capabilities-section, .experience-section { padding: 75px 0 80px; }
  .intro-grid, .journey-grid { grid-template-columns: 1fr; gap: 35px; }.facts { grid-template-columns: 1fr; gap: 22px; margin-top: 45px; }
  .section-heading { display: block; margin-bottom: 35px; }.section-aside { margin-top: 12px; }.project-list { grid-template-columns: 1fr; }.project-featured { grid-column: auto; }
  .project-card { min-height: 0; padding: 25px 20px; }.project-featured { min-height: 0; }.project-card h3 { font-size: 25px; }
  .project-media, .project-featured .project-media { height: 230px; }
  .capabilities-grid { grid-template-columns: 1fr; gap: 35px; }.experience-list article { grid-template-columns: 1fr; gap: 20px; padding: 25px 0; }.contact-meta { flex-direction: column; gap: 12px; margin-top: 60px; }.site-footer { flex-wrap: wrap; }
  .certificate-grid, .certificate-grid-single { grid-template-columns: 1fr; gap: 20px; }.certificate-category + .certificate-category { margin-top: 50px; }.certificate-preview { height: 160px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { animation: none; }.button, .project-toggle span { transition: none; } }
