:root { --bg: #f6f5f2; --ink: #111; --muted: #6b6b6b; --line: #dedbd4; --accent: #ff5a36; --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 5vw, 48px); }
.top { display: flex; justify-content: space-between; align-items: center; padding-block: 24px; }
.name { font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
nav { display: flex; gap: 22px; }
nav a { text-decoration: none; color: var(--muted); } nav a:hover { color: var(--ink); }

.intro { padding-block: clamp(48px, 10vw, 120px) clamp(40px, 7vw, 80px); }
.role { color: var(--accent); font-weight: 600; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5.2vw, 4rem); line-height: 1.08; letter-spacing: -.03em; margin: 0; max-width: 18em; font-weight: 700; }
.avail { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .95rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22a55b; box-shadow: 0 0 0 4px rgba(34,165,91,.15); }

.label { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin: 0 0 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work { text-decoration: none; display: block; }
.work h3 { margin: 16px 0 4px; font-size: 1.2rem; letter-spacing: -.01em; }
.work p { margin: 0; color: var(--muted); }
.thumb { aspect-ratio: 4 / 3; border-radius: 18px; position: relative; overflow: hidden; transition: transform .35s ease; }
.work:hover .thumb { transform: translateY(-4px); }
.thumb span { position: absolute; border-radius: 12px; background: rgba(255,255,255,.88); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.t1 { background: linear-gradient(135deg, #1f3a5f, #4f7cac); }
.t1 span:nth-child(1) { left: 34%; top: 14%; width: 32%; height: 72%; border-radius: 22px; }
.t1 span:nth-child(2) { left: 40%; top: 28%; width: 20%; height: 8%; background: #ffd166; }
.t1 span:nth-child(3) { left: 40%; top: 42%; width: 20%; height: 30%; background: #e9eef5; }
.t2 { background: linear-gradient(135deg, #ff8a5b, #ff5a36); }
.t2 span:nth-child(1) { left: 12%; top: 18%; width: 76%; height: 64%; }
.t2 span:nth-child(2) { left: 18%; top: 28%; width: 30%; height: 44%; background: #2b2b2b; }
.t3 { background: linear-gradient(135deg, #e8e1d3, #c9bda6); }
.t3 span { width: 18%; height: 56%; top: 22%; background: #fff; }
.t3 span:nth-child(1) { left: 12%; background: #2f6f5e; } .t3 span:nth-child(2) { left: 33%; } .t3 span:nth-child(3) { left: 54%; background: #c0573e; } .t3 span:nth-child(4) { left: 75%; width: 13%; }
.t4 { background: radial-gradient(circle at 30% 30%, #6b5bff, #251f5c); }
.t4 span { left: 22%; top: 22%; width: 56%; height: 56%; border-radius: 50%; background: conic-gradient(#ff5a36, #ffd166, #22a55b, #4f7cac, #ff5a36); }

.about { padding-block: clamp(56px, 9vw, 110px); }
.about-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.big { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; letter-spacing: -.01em; margin: 0; }
.about h3 { font-size: 1rem; margin: 0 0 8px; }
.list { list-style: none; padding: 0; margin: 0 0 24px; color: var(--muted); }
.list li { padding: 6px 0; border-bottom: 1px solid var(--line); }

.contact { padding-block: clamp(56px, 9vw, 110px); text-align: center; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.02em; margin: 0 0 16px; }
.mail { font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 6px; overflow-wrap: anywhere; }
footer { display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; padding-block: 24px 40px; }
footer a { text-decoration: none; }

@media (max-width: 760px) { .grid, .about-cols { grid-template-columns: 1fr; } nav { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .thumb { transition: none; } }
