:root {
  --canvas: #f7f8f5;
  --surface: #ffffff;
  --ink: #20252b;
  --body: #4c5560;
  --subtle: #7c8791;
  --line: #dce1df;
  --accent: #277a6b;
  --accent-wash: #eaf4ef;
  --serif: Georgia, 'Times New Roman', 'Noto Serif SC', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid rgba(39, 122, 107, .38); outline-offset: 3px; border-radius: 4px; }

.site-frame { width: min(1240px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(46px, 7vw, 112px); padding: 70px 0 88px; }
.profile-sidebar { position: sticky; top: 52px; align-self: start; text-align: center; }
.profile-avatar { display: block; width: 208px; aspect-ratio: 1; margin: 0 auto 23px; object-fit: cover; border-radius: 18px; background: #e7e9e6; box-shadow: 0 12px 28px rgba(31, 47, 43, .13); transition: transform .25s ease, box-shadow .25s ease; }
.profile-avatar:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(31, 47, 43, .18); }
.profile-sidebar h1 { margin: 0; font: 700 34px/1.15 var(--serif); letter-spacing: -.035em; }
.profile-role { margin: 8px 0 4px; color: var(--accent); font-weight: 650; line-height: 1.45; }
.profile-location { max-width: 230px; margin: 0 auto; color: var(--subtle); font-size: 14px; line-height: 1.55; }
.profile-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 14px; margin: 25px 0 28px; color: var(--body); font-size: 14px; }
.profile-links a { border-bottom: 1px solid transparent; transition: color .18s, border-color .18s; }
.profile-links a:hover { color: var(--accent); border-color: var(--accent); }
.profile-nav { display: grid; border-top: 1px solid var(--line); text-align: left; }
.profile-nav a { padding: 10px 3px; border-bottom: 1px solid var(--line); color: var(--body); font-size: 14px; transition: color .18s, padding-left .18s; }
.profile-nav a:hover { color: var(--accent); padding-left: 8px; }

.content-column { min-width: 0; }.content-header { display: flex; justify-content: space-between; padding: 3px 0 26px; border-bottom: 1px solid var(--line); color: var(--subtle); font-size: 11px; font-weight: 700; letter-spacing: .1em; }.content-section { padding: 58px 0 64px; border-bottom: 1px solid var(--line); }.section-label { margin: 0 0 14px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; }.content-section h2 { margin: 0; font: 700 clamp(31px, 4.2vw, 47px)/1.15 var(--serif); letter-spacing: -.045em; }.about-section h2 { font-size: clamp(43px, 5.2vw, 61px); }.content-section p { color: var(--body); }.lead { max-width: 760px; margin: 23px 0 13px; color: var(--ink) !important; font-size: 20px; line-height: 1.75; }.about-section > p:last-child { max-width: 710px; margin: 0; }.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 35px; align-items: end; margin-bottom: 30px; }.section-heading > p { margin: 0; font-size: 14px; line-height: 1.7; }

.achievement-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }.achievement-item { display: grid; grid-template-columns: 75px minmax(135px, .7fr) minmax(0, 1.4fr); gap: 18px; padding: 21px 0; border-bottom: 1px solid var(--line); }.achievement-year { color: var(--accent); font-size: 13px; font-weight: 750; }.achievement-award { font-size: 14px; }.achievement-copy h3 { margin: 0 0 3px; font: 700 17px/1.4 var(--serif); }.achievement-copy p { margin: 0; color: var(--subtle); font-size: 14px; line-height: 1.65; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }.project-card { min-height: 280px; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }.project-card:hover { transform: translateY(-3px); border-color: #b9d5cb; box-shadow: 0 12px 25px rgba(30, 64, 55, .08); }.project-top { display: flex; justify-content: space-between; gap: 8px; color: var(--subtle); font-size: 11px; }.project-index { color: var(--accent); font-weight: 800; }.project-role { text-align: right; }.project-card h3 { margin: 36px 0 9px; font: 700 23px/1.18 var(--serif); letter-spacing: -.03em; }.project-description { flex: 1; margin: 0; color: var(--body); font-size: 14px; line-height: 1.7; }.tag-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 19px 0 18px; list-style: none; }.tag-list li { padding: 2px 7px; border-radius: 4px; background: var(--accent-wash); color: #276459; font-size: 11px; }.text-link, .contact-link { display: inline-flex; align-items: center; gap: 6px; width: max-content; color: var(--accent); font-size: 14px; font-weight: 700; }.text-link:hover, .contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }.skill-group { padding-top: 14px; border-top: 2px solid var(--accent); }.skill-group h3 { margin: 0 0 12px; font: 700 19px var(--serif); }.skill-list { padding: 0; margin: 0; list-style: none; color: var(--body); font-size: 14px; }.skill-list li { padding: 5px 0; border-bottom: 1px solid var(--line); }.contact-section { padding-bottom: 72px; }.contact-section > p:not(.section-label) { max-width: 550px; margin: 14px 0 24px; }.contact-link { font-size: 17px; }.site-footer { padding-top: 26px; color: var(--subtle); font-size: 13px; }

@media (max-width: 900px) { .site-frame { grid-template-columns: 1fr; gap: 42px; padding-top: 34px; }.profile-sidebar { position: static; display: grid; grid-template-columns: 118px 1fr; column-gap: 24px; text-align: left; align-items: center; }.profile-top { display: contents; }.profile-avatar { grid-row: span 2; width: 118px; margin: 0; border-radius: 14px; }.profile-sidebar h1 { align-self: end; font-size: 31px; }.profile-role { margin: 2px 0; align-self: start; }.profile-location { grid-column: 2; max-width: none; margin: 0; }.profile-links { grid-column: 1 / -1; justify-content: flex-start; margin: 20px 0; }.profile-nav { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }.profile-nav a { border-bottom: 0; }.section-heading { grid-template-columns: 1fr; gap: 14px; }.project-grid { grid-template-columns: 1fr; }.project-card { min-height: 220px; }.project-card h3 { margin-top: 25px; }.skills-grid { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .site-frame { width: min(100% - 32px, 1240px); }.profile-sidebar { grid-template-columns: 92px 1fr; column-gap: 17px; }.profile-avatar { width: 92px; }.profile-sidebar h1 { font-size: 28px; }.profile-nav { grid-template-columns: repeat(2, 1fr); }.content-section { padding: 45px 0; }.content-section h2 { font-size: 36px; }.about-section h2 { font-size: 46px; }.lead { font-size: 18px; }.achievement-item { grid-template-columns: 58px 1fr; gap: 10px; }.achievement-copy { grid-column: 2; }.achievement-award { align-self: center; }.content-header { font-size: 9px; }.project-grid { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
