/* ==========================================================================
   konuk.me — clean rebuild
   HTML / CSS / vanilla JS
   ========================================================================== */

/* ---------- Theme tokens ---------- */
:root {
  --bg: #1c1c22;
  --bg-elev: #26262d;
  --bg-card: #2c2c33;
  --bg-soft: #34343c;
  --line: #3a3a43;
  --text: #eaeaea;
  --text-dim: rgba(234,234,234,.7);
  --text-mute: rgba(234,234,234,.5);
  --primary: #ffd23f;        /* warm yellow accent */
  --primary-2: #ff9f1c;
  --primary-text: #1c1c22;
  --info: #4cc9f0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 14px rgba(0,0,0,.25);
  --shadow-md: 0 10px 30px rgba(0,0,0,.35);
  --container: 1200px;
  --header-h: 72px;
  --font-heading: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

[data-theme="light"] {
  --bg: #f5f5f7;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --bg-soft: #f0f0f3;
  --line: #e3e3e8;
  --text: #1c1c22;
  --text-dim: rgba(28,28,34,.75);
  --text-mute: rgba(28,28,34,.55);
  --primary: #ff9f1c;
  --primary-2: #ffd23f;
  --primary-text: #1c1c22;
  --shadow-sm: 0 4px 14px rgba(0,0,0,.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.01em;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding-left: 1.2em; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  background: rgba(28,28,34,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .topbar { background: rgba(255,255,255,.85); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-text);
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
}

.topnav {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.topnav a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topnav a:hover { background: var(--bg-soft); color: var(--text); }
.topnav a.is-active { color: var(--primary); }

.topbar-actions { display: flex; gap: 8px; align-items: center; }
.theme-toggle, .menu-toggle {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--text);
  transition: background .2s;
}
.theme-toggle:hover, .menu-toggle:hover { background: var(--line); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 0; }
.menu-toggle span {
  width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  height: 100vh;
  background: #0c0c0c;
  color: #eaeaea;
  z-index: 100;
  padding: 28px 24px;
  overflow-y: auto;
  transform: translateX(-105%);
  transition: transform .3s ease;
  border-right: 1px solid #1f1f1f;
}
.drawer.open { transform: translateX(0); }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 28px;
  line-height: 1;
  color: #aaa;
}
.drawer-profile {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #1f1f1f;
  margin-bottom: 20px;
}
.drawer-profile img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--primary);
}
.drawer-profile h3 { font-size: 18px; margin: 0 0 4px; }
.drawer-profile p { margin: 0; color: #999; font-size: 13px; }

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #1f1f1f;
  color: #ddd;
  font-size: 13px;
  transition: background .2s, color .2s, transform .2s;
}
.socials a:hover { background: var(--primary); color: var(--primary-text); transform: translateY(-2px); }

.drawer-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.drawer-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: flex; align-items: center; gap: 12px;
  color: #ccc;
}
.drawer-nav a:hover { background: #1f1f1f; color: var(--primary); }

.drawer-widget { margin-bottom: 24px; }
.drawer-widget h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #888;
  margin-bottom: 10px;
}
.drawer-widget ul { list-style: none; padding: 0; margin: 0; }
.drawer-widget li { padding: 6px 0; font-size: 14px; color: #ccc; }
.drawer-widget a:hover { color: var(--primary); }

/* ---------- Main / Sections ---------- */
.main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.section:last-child { border-bottom: none; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}

/* ---------- Hero ---------- */
.hero { padding-top: 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
}
.hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-photo-deco {
  position: absolute;
  inset: -1px;
  border: 2px solid var(--primary);
  border-radius: 24px;
  transform: translate(14px, 14px);
  z-index: -1;
  pointer-events: none;
  opacity: .55;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 8px;
  font-weight: 600;
}
.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin: 0 0 6px;
  background: linear-gradient(135deg, var(--text) 30%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.role {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0 0 20px;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--primary);
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 1.1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-tagline {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.3;
}
.bio {
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 0 28px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s, background .2s, color .2s;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-text);
}
.btn-primary:hover { transform: translateY(-2px); color: var(--primary-text); }
.btn-ghost {
  background: var(--bg-soft);
  color: var(--text);
}
.btn-ghost:hover { background: var(--line); }

.hero-socials { display: flex; gap: 10px; }
.hero-socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-card);
  color: var(--text-dim);
  border: 1px solid var(--line);
  transition: all .2s;
}
.hero-socials a:hover {
  background: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 8px;
  letter-spacing: .04em;
}

/* ---------- Resume ---------- */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.resume-col-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px;
  margin: 0 0 20px;
  color: var(--text);
}
.resume-col-title i { color: var(--primary); }
.resume-col-title:not(:first-child) { margin-top: 36px; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding: 0 0 24px 32px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
}
.timeline-item .period {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.timeline-item h4 { font-size: 16px; margin: 0 0 4px; }
.timeline-item .company {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 8px;
  font-weight: 500;
}
.timeline-item p { color: var(--text-dim); margin: 0; font-size: 14px; }

.cert-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cert-list li {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.cert-list img {
  width: 48px; height: 48px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}
.cert-list h4 { font-size: 14px; margin: 0 0 4px; }
.cert-list p { font-size: 13px; color: var(--text-dim); margin: 0; }

/* ---------- Tech grid ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.tech-card img {
  width: 56px; height: 56px; object-fit: contain;
}
.tech-card span { font-size: 14px; font-weight: 600; }

/* ---------- Bars ---------- */
.bars { display: grid; gap: 18px; max-width: 720px; margin: 0 auto; }
.bar label {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dim);
}
.bar label span { color: var(--primary); }
.track {
  position: relative;
  width: 100%; height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}

/* ---------- Skills grid ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.skills-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.skills-card h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px;
  margin: 0 0 22px;
}
.skills-card h3 i { color: var(--primary); }
.skills-card .bars { max-width: none; }

.lang-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.lang-list li { display: flex; gap: 14px; align-items: center; }
.lang-list img { width: 36px; height: 24px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.lang-row { flex: 1; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; }
.lang-name { font-size: 14px; font-weight: 600; }
.lang-pct { font-size: 12px; color: var(--primary); font-weight: 700; }
.lang-row .track { grid-column: 1 / -1; margin-top: 6px; }

.soft-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.soft-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-dim);
}
.soft-list i { color: var(--primary); font-size: 12px; }

/* ---------- Projects ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.project-cover {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.project-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.project-card:hover .project-cover img { transform: scale(1.04); }
.project-body { padding: 22px; }
.project-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}
.project-body h3 { font-size: 18px; margin: 0 0 10px; }
.project-body p { color: var(--text-dim); font-size: 14px; margin: 0 0 14px; }
.project-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-mute);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.project-meta strong { color: var(--text-dim); margin-right: 4px; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-cover {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-soft);
}
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-cover img { transform: scale(1.04); }
.blog-body { padding: 24px; }
.blog-meta { font-size: 12px; color: var(--text-mute); margin: 0 0 10px; }
.blog-meta span { color: var(--primary); font-weight: 600; }
.blog-body h3 { font-size: 18px; margin: 0 0 12px; line-height: 1.35; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { color: var(--text-dim); font-size: 14px; margin: 0 0 16px; }
.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--primary);
}
.read-more:hover i { transform: translateX(4px); }
.read-more i { transition: transform .2s; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-info h3 { font-size: 22px; margin: 0 0 10px; }
.contact-info > p { color: var(--text-dim); margin: 0 0 24px; }
.contact-info ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.contact-info li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.contact-info i { color: var(--primary); width: 20px; text-align: center; }

.contact-form { display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; }
.contact-form span {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-dim); margin-bottom: 6px;
  letter-spacing: .04em;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 210, 63, .18);
}
.form-status { font-size: 13px; color: var(--text-dim); margin: 0; min-height: 1em; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* ---------- Footer ---------- */
.footer {
  padding: 36px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  display: grid;
  gap: 6px;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--primary-text);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s;
  z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Blog post page ---------- */
.post-hero {
  padding: 56px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.post-hero .section-tag { background: var(--bg-soft); }
.post-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 820px;
  margin: 0 auto 16px;
}
.post-meta {
  font-size: 13px;
  color: var(--text-mute);
}
.post-meta a { color: var(--primary); }

.post-cover {
  margin: 28px auto 0;
  max-width: 900px;
  border-radius: var(--radius);
  overflow: hidden;
}
.post-cover img { width: 100%; height: auto; }

.post-body {
  max-width: 760px;
  margin: 48px auto;
  padding: 0 4px;
  font-size: 16px;
}
.post-body h2, .post-body h3, .post-body h4 { margin-top: 1.6em; }
.post-body h2 { font-size: 26px; }
.post-body h3 { font-size: 20px; color: var(--primary); }
.post-body p { color: var(--text-dim); }
.post-body ul, .post-body ol { color: var(--text-dim); padding-left: 1.4em; }
.post-body li { margin-bottom: 6px; }
.post-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-style: italic;
}
.post-body pre {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
}
.post-body code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .92em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
}
.post-body pre code { background: none; padding: 0; }
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.post-body th, .post-body td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.post-body th { background: var(--bg-soft); font-weight: 700; color: var(--text); }
.post-body hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.post-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}
.post-nav a:hover { color: var(--primary); border-color: var(--primary); }
.post-nav .placeholder { visibility: hidden; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .topnav { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 280px 1fr; gap: 36px; }
  .resume-grid, .skills-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar { padding: 0 16px; gap: 12px; }
  .main { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-photo { max-width: 280px; margin: 0 auto; }
  .hero-actions, .hero-socials { justify-content: center; }
  .bio { margin-left: auto; margin-right: auto; }
  .stats { grid-template-columns: 1fr 1fr; padding: 20px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-grid { padding: 24px; }
  .post-body { font-size: 15px; }
}
