/* ============================================================
   Evan Erkan — portfolio styles
   Theme: "Slate" — calm dark, high readability, single teal accent
   ============================================================ */

:root {
  --bg:     oklch(0.205 0.018 255);
  --bg2:    oklch(0.235 0.02 255);
  --panel:  oklch(0.255 0.02 255);
  --ink:    oklch(0.93 0.008 250);
  --muted:  oklch(0.66 0.014 250);
  --faint:  oklch(0.54 0.014 250);
  --line:   oklch(0.34 0.018 255);
  --accent: oklch(0.78 0.10 195);
  --soft:   oklch(0.29 0.03 210);
  --pad: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Albert Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}
.nav-mark { font-family: 'Space Grotesk'; font-weight: 600; font-size: 17px; }
.nav-mark span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 78px var(--pad) 52px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: var(--soft); padding: 7px 14px; border-radius: 100px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: 74px; font-weight: 600; line-height: 1.0; margin: 26px 0 0; }
.role { font-size: 23px; color: var(--accent); font-weight: 500; margin-top: 18px; font-family: 'Space Grotesk'; }
.role b { color: var(--muted); font-weight: 400; }
.lede { font-size: 18.5px; line-height: 1.65; color: var(--ink); max-width: 680px; margin-top: 24px; }
.meta { display: flex; gap: 30px; margin-top: 34px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.meta b { color: var(--ink); font-weight: 600; }

/* ---------- intro cards ---------- */
.grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; padding: 20px var(--pad) 8px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 34px; }
.klabel { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.card p { font-size: 16px; line-height: 1.7; color: var(--ink); margin: 16px 0 0; }
.learn { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 13px; }
.learn li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.tick { width: 20px; height: 20px; border-radius: 6px; background: var(--soft);
  display: grid; place-items: center; color: var(--accent); flex-shrink: 0; font-size: 12px; }

/* ---------- sections ---------- */
.section { padding: 46px var(--pad); }
.section.tight { padding-top: 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 30px; }
.sec-head h2 { font-size: 27px; font-weight: 600; }
.sec-head span { font-size: 13px; color: var(--faint); }

/* ---------- featured project ---------- */
.proj { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.proj-top { display: grid; grid-template-columns: 1.3fr 1fr; }
.proj-body { padding: 40px; }
.proj-tag { font-size: 12.5px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.proj h3 { font-size: 30px; font-weight: 600; margin-top: 12px; line-height: 1.1; }
.proj-desc { font-size: 16px; line-height: 1.7; color: var(--muted); margin-top: 18px; }
.proj-desc strong { color: var(--ink); font-weight: 600; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { font-size: 13px; border: 1px solid var(--line); padding: 6px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 500; background: var(--bg2); }
.shot { background: repeating-linear-gradient(135deg, oklch(0.27 0.02 255) 0 12px, oklch(0.30 0.02 255) 12px 24px);
  display: grid; place-items: center; border-left: 1px solid var(--line); min-height: 300px; }
.shot span { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--faint); letter-spacing: 0.03em; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.metric { padding: 26px 34px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric .v { font-family: 'Space Grotesk'; font-size: 30px; font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
.metric .v em { font-style: normal; font-size: 16px; color: var(--faint); }
.metric .k { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- experience ---------- */
.exp { display: flex; flex-direction: column; }
.job { display: grid; grid-template-columns: 210px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.job:last-child { border-bottom: none; }
.job-when { font-size: 14px; color: var(--faint); font-weight: 500; }
.job-when b { display: block; color: var(--accent); font-weight: 600; margin-bottom: 4px; font-family: 'Space Grotesk'; }
.job h3 { font-size: 19px; font-weight: 600; }
.job .where { color: var(--muted); font-size: 14px; margin-top: 3px; }
.job ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.freelance { color: var(--faint); font-weight: 400; font-size: 15px; }

/* ---------- skills ---------- */
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.skillcard { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.skillcard h4 { font-family: 'Space Grotesk'; font-size: 15px; margin: 0 0 14px; color: var(--accent); font-weight: 600; }
.skilltags { display: flex; flex-wrap: wrap; gap: 8px; }
.skilltags .t { font-size: 13.5px; border: 1px solid var(--line); border-radius: 7px; padding: 6px 11px; color: var(--ink); background: var(--bg2); }

/* ---------- contact / footer ---------- */
.contact { padding: 56px var(--pad); border-top: 1px solid var(--line); text-align: center; }
.contact h2 { font-size: 34px; font-weight: 600; }
.contact p { color: var(--muted); font-size: 16px; margin: 14px auto 0; max-width: 460px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.btn { font-family: 'Space Grotesk'; font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 9px; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: oklch(0.2 0.02 255); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--bg2); }
.foot { padding: 26px var(--pad); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; color: var(--faint); font-size: 14px; flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  :root { --pad: 28px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 48px; }
  .role { font-size: 19px; }
  .grid2, .proj-top, .skills { grid-template-columns: 1fr; }
  .shot { min-height: 180px; border-left: none; border-top: 1px solid var(--line); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .job { grid-template-columns: 1fr; gap: 8px; }
}
