:root { --paper:#f5f6f3; --ink:#17201c; --muted:#68716c; --line:#d5dcd6; --accent:#0d7c66; --accent-soft:#cce1d8; --lime:#dbea68; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:"DM Sans","Noto Sans SC",sans-serif; letter-spacing:0; }
a { color:inherit; text-decoration:none; }
button { font:inherit; }
.site-header { height:76px; padding:0 clamp(22px,5vw,72px); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; border-bottom:1px solid var(--line); position:relative; z-index:20; }
.brand { font-size:23px; font-weight:700; }
.brand span { color:var(--accent); }
.desktop-nav { display:flex; gap:34px; font-size:13px; }
.desktop-nav a,.header-contact,footer a { transition:color .2s ease; }
.desktop-nav a:hover,.header-contact:hover,footer a:hover { color:var(--accent); }
.header-contact { justify-self:end; font-size:13px; padding-bottom:3px; border-bottom:1px solid; }
.menu-button { display:none; border:0; background:none; padding:10px 0 10px 10px; }
.hero { min-height:calc(100vh - 76px); padding:clamp(54px,7vh,90px) clamp(22px,5vw,72px) 44px; display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:clamp(44px,8vw,120px); align-items:center; position:relative; }
.eyebrow { color:var(--muted); font-size:13px; margin:0 0 30px; }
.status-dot { width:8px; height:8px; border-radius:50%; display:inline-block; background:var(--accent); margin-right:9px; box-shadow:0 0 0 4px rgba(13,124,102,.12); }
h1 { font-size:92px; line-height:1.04; font-weight:600; margin:0; }
h1 span { display:block; margin-top:20px; color:var(--accent); font-size:52px; line-height:1.28; font-weight:500; }
.hero-intro { color:var(--muted); font-size:clamp(16px,1.4vw,19px); line-height:1.85; max-width:720px; margin:34px 0; }
.hero-actions { display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.primary-button { padding:16px 19px; display:inline-flex; gap:30px; background:var(--ink); color:white; font-size:13px; transition:transform .2s,background .2s; }
.primary-button:hover { transform:translateY(-2px); background:var(--accent); }
.text-link { font-size:13px; padding-bottom:4px; border-bottom:1px solid; }
.profile-panel { width:100%; max-width:430px; justify-self:end; background:var(--accent-soft); padding:24px; position:relative; }
.profile-panel img { width:100%; aspect-ratio:1; object-fit:cover; object-position:center 18%; display:block; filter:saturate(.75) contrast(1.04); }
.profile-caption { display:flex; justify-content:space-between; margin-top:16px; font-size:10px; color:#38564c; }
.profile-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; border-top:1px solid #aac5b9; margin-top:18px; padding-top:14px; }
.profile-meta p { margin:0; font-size:11px; color:#38564c; }
.scroll-hint { position:absolute; left:clamp(22px,5vw,72px); bottom:28px; font-size:9px; display:flex; gap:12px; }
.section { padding:110px clamp(22px,5vw,72px); }
.section-label { font-size:11px; color:var(--muted); letter-spacing:1.4px; }
.section-label span { color:var(--accent); margin-right:13px; }
.about { background:var(--ink); color:white; display:grid; grid-template-columns:1fr 3fr; gap:48px; }
.about .section-label { color:#84918b; }
.about h2 { margin:0 0 58px; font-size:clamp(35px,4.5vw,64px); line-height:1.25; font-weight:500; }
.about h2 span { color:var(--lime); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:7vw; }
.about-grid p { margin:0; color:#aeb8b3; line-height:1.9; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid #39413d; margin:64px 0 0; padding-top:28px; }
.stats div { display:flex; flex-direction:column; }
.stats dt { font-size:42px; color:var(--lime); }
.stats dd { margin:7px 0 0; font-size:12px; color:#87918c; }
.section-heading { display:flex; align-items:end; justify-content:space-between; margin-bottom:46px; }
.section-heading p { margin:0; color:var(--muted); font-size:13px; }
.project-feature { margin-bottom:32px; }
.project-visual { height:min(56vw,610px); position:relative; display:grid; place-items:center; overflow:hidden; }
.payment-visual { background:#b8d6cb; }
.project-index { position:absolute; top:22px; left:24px; font-size:10px; color:#315c50; }
.browser-shell { width:76%; height:69%; background:#f7f7f2; box-shadow:28px 30px 0 rgba(33,78,64,.13); transform:rotate(-2deg); }
.shell-top { height:46px; border-bottom:1px solid #d6ddd8; display:flex; align-items:center; gap:7px; padding:0 16px; }
.shell-top i { width:7px; height:7px; border-radius:50%; background:#9eaba5; }
.shell-top b { margin-left:auto; font-size:11px; font-weight:500; color:#688078; }
.shell-body { height:calc(100% - 46px); padding:17px; display:grid; grid-template-columns:22% 1fr; gap:14px; }
.shell-body aside { background:#1d2924; }
.metric-grid { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:31% 1fr; gap:12px; }
.metric-grid span { background:#dfe8e2; }.metric-grid strong { background:#ccd8d1; }
.project-copy { display:grid; grid-template-columns:1fr 1.2fr; gap:7vw; padding:28px 0 70px; border-top:1px solid var(--line); }
.project-kicker { margin:0 0 8px; color:var(--accent); font-size:11px; }
.project-copy h3,.project-card h3 { margin:0; font-size:clamp(25px,3vw,38px); font-weight:500; }
.project-description>p,.project-card>p { color:var(--muted); line-height:1.8; margin:0 0 20px; }
.project-description ul,.project-card ul { margin:0 0 24px; padding-left:18px; color:#46504b; line-height:1.9; font-size:14px; }
.tags { display:flex; flex-wrap:wrap; gap:8px; }.tags span { border:1px solid #bfc9c3; padding:6px 9px; font-size:10px; }
.project-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.project-card { min-height:490px; padding:52px 30px 34px; position:relative; border-right:1px solid var(--line); display:flex; flex-direction:column; }
.project-card:last-child { border-right:0; }
.project-card .project-index { top:20px; left:30px; }
.project-card .project-kicker { margin-bottom:12px; }
.project-card h3 { font-size:26px; margin-bottom:26px; }
.project-card .tags { margin-top:auto; }
.experience { background:#e8ece8; }
.timeline { border-top:1px solid #c2cbc5; }
.timeline-item { display:grid; grid-template-columns:220px 1fr; gap:5vw; padding:36px 0; border-bottom:1px solid #c2cbc5; }
.timeline-item time { color:var(--accent); font-size:12px; }
.timeline-item h3 { margin:0; font-size:25px; font-weight:500; }
.timeline-item .role { color:var(--accent); font-size:13px; margin:7px 0 14px; }
.timeline-item div>p:last-child { max-width:820px; color:var(--muted); line-height:1.8; margin-bottom:0; }
.education-item { padding-bottom:28px; }
.skills { background:#17342b; color:white; display:grid; grid-template-columns:1fr 3fr; gap:48px; }
.skills .section-label { color:#87a097; }
.skills-content { display:grid; grid-template-columns:1fr 1.1fr; gap:7vw; }
.skills-intro h2 { margin:0 0 24px; font-size:clamp(34px,4vw,55px); font-weight:500; line-height:1.25; }
.skills-intro p { color:#9eb1aa; line-height:1.8; }
.skill-groups>div { padding:0 0 24px; margin-bottom:24px; border-bottom:1px solid #3b574e; }
.skill-groups h3 { color:var(--lime); font-size:14px; margin:0 0 10px; }.skill-groups p { color:#b6c3be; line-height:1.8; margin:0; font-size:14px; }
.contact { text-align:center; background:var(--lime); }
.contact>p { color:#52613a; font-size:12px; }.contact h2 { font-size:clamp(45px,7vw,96px); line-height:1.12; margin:28px 0 44px; font-weight:500; }.contact h2 span { color:var(--accent); }
.contact>a { display:inline-block; border-bottom:1px solid; padding-bottom:5px; }
footer { min-height:120px; padding:34px clamp(22px,5vw,72px); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; font-size:11px; color:var(--muted); }footer a:last-child { justify-self:end; }
.reveal { opacity:0; transform:translateY(20px); transition:opacity .65s ease,transform .65s ease; }.reveal.visible { opacity:1; transform:none; }.mobile-menu { display:none; }
@media (max-width:1100px) { h1 { font-size:74px; } h1 span { font-size:42px; } }
@media (max-width:900px) { .hero { grid-template-columns:1fr .72fr; gap:38px; }.project-grid { grid-template-columns:1fr; }.project-card { min-height:0; border-right:0; border-bottom:1px solid var(--line); }.project-card:last-child { border-bottom:0; }.skills-content { grid-template-columns:1fr; }.skills { grid-template-columns:1fr; } }
@media (max-width:720px) { .site-header { height:66px; grid-template-columns:1fr auto; }.desktop-nav,.header-contact { display:none; }.menu-button { display:flex; flex-direction:column; gap:6px; }.menu-button span { width:24px; height:1px; background:var(--ink); transition:transform .2s; }.menu-button.active span:first-child { transform:translateY(3.5px) rotate(45deg); }.menu-button.active span:last-child { transform:translateY(-3.5px) rotate(-45deg); }.mobile-menu { position:fixed; z-index:15; inset:66px 0 0; background:var(--paper); padding:54px 22px; flex-direction:column; gap:23px; font-size:28px; }.mobile-menu.open { display:flex; }body.menu-open { overflow:hidden; }.hero { min-height:auto; grid-template-columns:1fr; padding-top:64px; padding-bottom:78px; }.profile-panel { max-width:none; }.scroll-hint { display:none; }.section { padding-top:78px; padding-bottom:78px; }.about { grid-template-columns:1fr; }.about-grid,.project-copy,.skills-content { grid-template-columns:1fr; gap:26px; }.about h2 { margin-bottom:38px; }.project-visual { height:72vw; min-height:320px; }.browser-shell { width:84%; height:67%; }.timeline-item { grid-template-columns:1fr; gap:12px; }.timeline-item h3 { font-size:21px; }.skills { grid-template-columns:1fr; }.profile-meta p { font-size:10px; }footer { grid-template-columns:1fr 1fr; gap:18px; }footer p { grid-column:1/3; order:3; } }
@media (max-width:460px) { h1 { font-size:54px; } h1 span { font-size:34px; margin-top:16px; }.hero-actions { flex-direction:column; align-items:flex-start; }.stats dt { font-size:31px; }.stats dd { max-width:72px; }.section-heading { flex-direction:column; align-items:flex-start; gap:12px; }.profile-panel { padding:16px; }.project-card { padding-left:20px; padding-right:20px; }.project-card .project-index { left:20px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.reveal { opacity:1; transform:none; transition:none; } }
