/* =========================================================
   enderozturk.com — Modern Stylesheet (2026)
   Dark theme · accent #0cc0de · vanilla, no framework
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:          #17181c;
  --bg-2:        #1c1d22;
  --surface:     #26272c;
  --surface-2:   #2e2f35;
  --border:      #34353c;
  --border-soft: #2a2b31;
  --text:        #f2f3f5;
  --text-dim:    #c7c9cf;
  --muted:       #94969e;
  --accent:      #0cc0de;
  --accent-2:    #0aa6c2;
  --accent-ink:  #04262c;
  --accent-soft: rgba(12, 192, 222, .12);
  --accent-glow: rgba(12, 192, 222, .35);

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow:    0 18px 40px -18px rgba(0, 0, 0, .6);
  --shadow-sm: 0 8px 20px -12px rgba(0, 0, 0, .5);
  --ring:      0 0 0 3px var(--accent-soft);

  --max: 1160px;
  --gutter: clamp(20px, 5vw, 48px);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --head: 'Sora', var(--font);

  --t-fast: .18s ease;
  --t:      .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Ambient background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50rem 50rem at 82% -10%, rgba(12, 192, 222, .10), transparent 60%),
    radial-gradient(40rem 40rem at 5% 12%, rgba(12, 192, 222, .06), transparent 55%),
    var(--bg);
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 11vw, 128px); position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), transparent); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head.center .eyebrow::before { display: none; }
.section-title {
  font-family: var(--head); font-weight: 700; line-height: 1.12;
  font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -.02em;
}
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

.accent { color: var(--accent); }
.text-muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--accent-ink);
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t);
  box-shadow: 0 10px 24px -12px var(--accent-glow);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--accent-glow); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --btn-bg: transparent; color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn .ic { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.nav.scrolled {
  background: rgba(23, 24, 28, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand {
  font-family: var(--head); font-weight: 700; font-size: 1.18rem;
  letter-spacing: -.01em; display: inline-flex; gap: .35em;
}
.brand .dot { color: var(--accent); }
.nav__spacer { flex: 1; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative; font-size: .92rem; font-weight: 500; color: var(--text-dim);
  padding: 8px 12px; border-radius: 8px; transition: color var(--t-fast);
}
.nav__links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0);
  transform-origin: left; transition: transform var(--t);
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }
.nav__links a.active::after { transform: scaleX(1); }

/* language toggle */
.lang {
  display: inline-flex; align-items: center; border: 1px solid var(--border);
  border-radius: 999px; overflow: hidden; font-family: var(--head);
  font-size: .8rem; font-weight: 600;
}
.lang button { padding: 7px 13px; color: var(--muted); transition: color var(--t-fast), background var(--t-fast); }
.lang button.active { background: var(--accent); color: var(--accent-ink); }

.nav__panel { display: none; }  /* mobile-only; shown in the ≤720px media query */

.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform var(--t), opacity var(--t-fast);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: rotate(45deg); }
body.menu-open .nav__toggle span::after  { transform: rotate(-45deg) translateY(-1.5px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding-top: 96px; padding-bottom: 64px; position: relative; overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 1;
}
/* Immersive centered hero — content floats over a full-bleed particle field */
.hero__inner {
  position: relative; z-index: 1; width: 100%;
  max-width: 860px; margin-inline: auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  /* keep hero copy crisp over the busier particle field */
  text-shadow: 0 0 34px rgba(10, 12, 16, .85), 0 2px 10px rgba(10, 12, 16, .55);
}
/* soft focal halo so the centered text stays readable through the web */
.hero__inner::before {
  content: ""; position: absolute; z-index: -1; inset: -8% -12%;
  background: radial-gradient(58% 62% at 50% 48%, rgba(10, 12, 16, .62), rgba(10, 12, 16, 0) 74%);
  pointer-events: none;
}
.hero__hi {
  font-family: var(--head); color: var(--accent); font-weight: 600;
  letter-spacing: .04em; margin-bottom: 12px;
}
.hero__name {
  font-family: var(--head); font-weight: 800; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}
.hero__roles {
  font-family: var(--head); font-weight: 700; margin-top: 10px;
  font-size: clamp(1.2rem, 3.4vw, 2rem); min-height: 1.4em; color: var(--text-dim);
}
.hero__roles .typed { color: var(--accent); }
.hero__roles .caret {
  display: inline-block; width: 3px; height: 1.05em; margin-left: 2px;
  background: var(--accent); vertical-align: -.16em; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__tagline { color: var(--text-dim); max-width: 54ch; margin: 22px auto 0; font-size: 1.1rem; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero__socials { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.hero__socials a {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--muted);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.hero__socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.hero__socials svg { width: 20px; height: 20px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  color: var(--muted); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.scroll-cue .mouse {
  width: 22px; height: 34px; border: 2px solid var(--border); border-radius: 12px; position: relative;
}
.scroll-cue .mouse::after {
  content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px;
  background: var(--accent); border-radius: 2px; transform: translateX(-50%);
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 16px; } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about__figure { position: relative; }
.about__figure img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  filter: grayscale(1) contrast(1.05); box-shadow: var(--shadow);
}
.about__frame { position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--accent); border-radius: var(--radius); z-index: -1; opacity: .5; }
.about__lead { font-size: 1.14rem; color: var(--text-dim); font-weight: 500; }
.about__body p { color: var(--muted); margin-top: 16px; }

.about__facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px;
  margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border-soft);
}
.about__facts li { display: flex; flex-direction: column; gap: 2px; }
.about__facts .k { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about__facts .v { font-weight: 600; color: var(--text); }
.about__facts .v a:hover { color: var(--accent); }
.about__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* highlight cards under about */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.highlight {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 24px 22px; transition: transform var(--t), border-color var(--t);
}
.highlight:hover { transform: translateY(-4px); border-color: var(--accent); }
.highlight .n { font-family: var(--head); font-weight: 800; font-size: 2rem; color: var(--accent); line-height: 1; }
.highlight .l { color: var(--muted); font-size: .92rem; margin-top: 8px; }

/* ---------- Timeline / Experience ---------- */
.timeline { position: relative; margin-top: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--accent), transparent); border-radius: 2px;
}
.tl-item { position: relative; padding-left: 42px; padding-block: 16px; }
.tl-item::before {
  content: ""; position: absolute; left: 2px; top: 24px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: tlpulse 2.6s ease-out infinite;
}
.tl-item:nth-child(2)::before { animation-delay: .5s; }
.tl-item:nth-child(3)::before { animation-delay: 1s; }
.tl-item:nth-child(4)::before { animation-delay: 1.5s; }
@keyframes tlpulse {
  0%   { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 0 12px rgba(12,192,222,0); }
  100% { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 0 0 rgba(12,192,222,0); }
}
.tl-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 20px 22px; transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.tl-card:hover { transform: translateX(6px); border-color: var(--accent-soft); box-shadow: 0 16px 40px -22px var(--accent-glow); }
.tl-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.tl-role { font-family: var(--head); font-weight: 700; font-size: 1.1rem; }
.tl-year {
  font-family: var(--head); font-size: .8rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.tl-co { color: var(--text-dim); font-weight: 500; font-size: .95rem; margin-top: 2px; }
.tl-desc { color: var(--muted); margin-top: 10px; font-size: .96rem; }

/* ---------- Skills ---------- */
.skill-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.skill-group {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 24px;
}
.skill-group h3 { font-family: var(--head); font-size: 1.02rem; display: flex; align-items: center; gap: 10px; }
.skill-group h3 svg { width: 20px; height: 20px; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  font-size: .86rem; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.chip:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Cards grid (services / projects) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 28px 26px; transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent); transform: scaleX(0);
  transform-origin: left; transition: transform var(--t);
}
.card:hover {
  transform: translateY(-6px); border-color: var(--accent-soft);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .7), 0 12px 40px -18px var(--accent-glow);
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
  transition: transform var(--t), background var(--t), box-shadow var(--t);
}
.card:hover .card__icon {
  transform: translateY(-2px) scale(1.08) rotate(-4deg);
  box-shadow: 0 0 0 6px var(--accent-soft), 0 8px 20px -8px var(--accent-glow);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--head); font-size: 1.16rem; }
.card p { color: var(--muted); margin-top: 10px; font-size: .96rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.card__tags span { font-size: .76rem; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
.card__meta { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .82rem; color: var(--muted); font-family: var(--head); }

/* placeholder styling (shared by blog drafts) */
.is-placeholder { border-style: dashed; border-color: var(--border); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t);
}
.post:hover { transform: translateY(-6px); border-color: var(--border); }
.post__thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); position: relative; overflow: hidden; }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.post__thumb .tag {
  position: absolute; top: 12px; left: 12px; font-size: .72rem; font-family: var(--head);
  font-weight: 600; background: rgba(23,24,28,.8); color: var(--accent);
  padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .8rem; color: var(--muted); display: flex; gap: 14px; }
.post h3 { font-family: var(--head); font-size: 1.12rem; margin-top: 10px; }
.post p { color: var(--muted); font-size: .93rem; margin-top: 8px; flex: 1; }
.post__more { color: var(--accent); font-family: var(--head); font-weight: 600; font-size: .88rem; margin-top: 16px; display: inline-flex; gap: 6px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 56px); }
.contact__cards { display: grid; gap: 14px; }
.ct-card {
  display: flex; gap: 16px; align-items: center; background: var(--surface);
  border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 18px 20px;
  transition: border-color var(--t);
}
.ct-card:hover { border-color: var(--accent); }
.ct-card .ci { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.ct-card .ci svg { width: 22px; height: 22px; }
.ct-card .k { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ct-card .v { font-weight: 600; }
.ct-card .v a:hover { color: var(--accent); }

.form { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font: inherit; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: var(--ring); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; margin-top: 4px; }
.form__note { color: var(--muted); font-size: .82rem; margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding-block: 34px; margin-top: 40px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer p { color: var(--muted); font-size: .9rem; }
.footer .brand { font-size: 1rem; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a { color: var(--muted); transition: color var(--t-fast); }
.footer__socials a:hover { color: var(--accent); }
.footer__socials svg { width: 20px; height: 20px; }

/* back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; box-shadow: 0 10px 24px -10px var(--accent-glow);
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity var(--t), transform var(--t);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- i18n visibility ---------- */
[data-lang-hide] { display: none !important; }

/* ---------- Scroll reveal (only hidden when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }

/* reveal variants — cards pop with scale, timeline slides in from the left */
.js .card.reveal, .js .highlight.reveal, .js .post.reveal { transform: translateY(28px) scale(.96); }
.js .card.reveal.in, .js .highlight.reveal.in, .js .post.reveal.in { transform: none; }
.js .tl-item.reveal { transform: translateX(-30px); }
.js .tl-item.reveal.in { transform: none; }
.js .section-head.reveal { transform: translateY(16px); }
.js .section-head.reveal.in { transform: none; }

/* ---------- Ambient aurora (slow drifting glow behind everything) ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 48vw; height: 48vw; min-width: 360px; min-height: 360px;
  border-radius: 50%; filter: blur(90px); opacity: .18; will-change: transform;
}
.aurora::before { background: var(--accent); top: -12%; left: -10%; animation: drift-a 28s ease-in-out infinite alternate; }
.aurora::after  { background: #3a6df0; bottom: -16%; right: -8%; animation: drift-b 34s ease-in-out infinite alternate; }
@keyframes drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(32vw, 22vh) scale(1.25); } }
@keyframes drift-b { from { transform: translate(0,0) scale(1); } to { transform: translate(-26vw, -18vh) scale(1.2); } }

/* ---------- Scroll progress bar ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--accent), #7ae9f7);
  transform: scaleX(0); transform-origin: 0 50%;
  box-shadow: 0 0 14px var(--accent-glow); pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 440px; margin-inline: auto; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .cards, .posts { grid-template-columns: repeat(2, 1fr); }
  .skill-groups { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links, .nav__spacer { display: none; }
  .nav__toggle { display: flex; }
  .nav__panel {
    position: fixed; inset: 72px 0 auto 0; background: var(--bg-2);
    border-bottom: 1px solid var(--border); padding: 12px var(--gutter) 24px;
    display: flex; flex-direction: column; gap: 4px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity var(--t), transform var(--t);
  }
  body.menu-open .nav__panel { transform: none; opacity: 1; pointer-events: auto; }
  .nav__panel a { padding: 12px 8px; border-bottom: 1px solid var(--border-soft); color: var(--text-dim); }
  .nav__panel a:last-child { border-bottom: none; }
  .nav.scrolled, body.menu-open .nav { background: rgba(23,24,28,.92); backdrop-filter: blur(14px); }
}

@media (max-width: 560px) {
  .cards, .posts, .highlights, .about__facts { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
