/* ===================================================================
   Zin Zin Aye Chan — Portfolio
   Theme: animated blue gradient hero, white cards, Manrope
   =================================================================== */

:root {
  --bg-top: #eef3ff;
  --bg-mid: #dde6f9;
  --bg-bottom: #c2d2f3;

  --card: #ffffff;
  --ink: #16161d;
  --ink-soft: #383942;
  --muted: #5f6573;

  --accent: #3a64c8;
  --accent-dark: #2a4ba0;
  --accent-soft: #e7eefb;
  --accent-soft-ink: #2a4794;

  --border: #e4e7f0;
  --border-card: #e9ecf4;
  --border-strong: #16161d;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --maxw: 1080px;
  --shadow-sm: 0 1px 3px rgba(28, 48, 92, 0.05), 0 6px 18px rgba(28, 48, 92, 0.04);
  --shadow-md: 0 2px 6px rgba(28, 48, 92, 0.06), 0 14px 36px rgba(28, 48, 92, 0.07);

  --display: 'Manrope', 'Inter', -apple-system, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15.5px;
  background: linear-gradient(168deg, var(--bg-top) 0%, var(--bg-mid) 42%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.012em;
}

p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.icon {
  width: 17px; height: 17px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-solid { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  padding: 11px 24px; border-radius: var(--radius-pill);
  cursor: pointer; transition: all .22s var(--ease-out);
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- nav (fixed) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: background .25s ease;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 13px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--display); font-size: 17px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) {
  font-size: 14.5px; color: var(--muted); font-weight: 500;
  position: relative; padding: 4px 0; transition: color .18s ease;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (full page, left-aligned, animated bg) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 110px 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.65;
  will-change: transform;
}
.hero-blob-1 {
  top: -180px; right: -140px;
  width: 540px; height: 540px;
  background: #aebde5;
  animation: drift1 20s ease-in-out infinite;
}
.hero-blob-2 {
  bottom: -200px; left: -160px;
  width: 480px; height: 480px;
  background: #c4d2f1;
  animation: drift2 24s ease-in-out infinite;
}
.hero-blob-3 {
  top: 38%; left: 52%;
  width: 300px; height: 300px;
  background: #d6e1f5; opacity: 0.55;
  animation: drift3 28s ease-in-out infinite;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(58,100,200,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.55;
  pointer-events: none;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 50px) scale(1.05); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.08); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.15); }
}

.hero-shape {
  position: absolute; pointer-events: none;
}
.hero-shape-1 {
  top: 16%; right: 11%;
  width: 84px; height: 84px;
  border: 2px solid rgba(58, 100, 200, 0.22);
  border-radius: 50%;
  animation: shapeSpin 32s linear infinite;
}
.hero-shape-2 {
  top: 26%; left: 12%;
  width: 14px; height: 14px;
  background: rgba(58, 100, 200, 0.4);
  border-radius: 50%;
  animation: shapePulse 4s ease-in-out infinite;
}
.hero-shape-3 {
  bottom: 22%; right: 16%;
  width: 28px; height: 28px;
  border: 2px solid rgba(58, 100, 200, 0.28);
  border-radius: 6px;
  animation: shapeSpin 22s linear infinite reverse;
}
.hero-shape-4 {
  bottom: 14%; left: 9%;
  width: 56px; height: 56px;
  border: 2px solid rgba(58, 100, 200, 0.18);
  border-radius: 50%;
  animation: shapeFloat 12s ease-in-out infinite;
}
.hero-shape-5 {
  top: 12%; left: 35%;
  width: 8px; height: 8px;
  background: rgba(58, 100, 200, 0.5);
  border-radius: 50%;
  animation: shapePulse 5s ease-in-out infinite .8s;
}
.hero-shape-6 {
  bottom: 28%; left: 38%;
  width: 18px; height: 18px;
  border: 2px solid rgba(58, 100, 200, 0.3);
  transform: rotate(45deg);
  animation: shapeFloat 10s ease-in-out infinite 1s;
}
@keyframes shapeSpin { to { transform: rotate(360deg); } }
@keyframes shapePulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.5); opacity: 0.95; }
}
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  width: 100%;
}
.hero-inner > * { opacity: 0; transform: translateY(22px); }
.hero-inner > *:nth-child(1) { animation: heroIn .85s var(--ease-out) .08s forwards; }
.hero-inner > *:nth-child(2) { animation: heroIn .85s var(--ease-out) .18s forwards; }
.hero-inner > *:nth-child(3) { animation: heroIn .85s var(--ease-out) .28s forwards; }
.hero-inner > *:nth-child(4) { animation: heroIn .85s var(--ease-out) .38s forwards; }
.hero-inner > *:nth-child(5) { animation: heroIn .85s var(--ease-out) .48s forwards; }
.hero-inner > *:nth-child(6) { animation: heroIn .85s var(--ease-out) .58s forwards; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6.5vw, 74px);
  font-weight: 500; line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 16px; color: var(--ink);
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400; color: var(--accent);
  margin-bottom: 16px; letter-spacing: -0.005em;
}
.hero-tagline {
  font-family: var(--sans);
  font-size: 16px; color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 24px; line-height: 1.5;
}
.hero-location {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; color: var(--muted);
  margin-bottom: 28px;
}
.hero-location .icon { width: 17px; height: 17px; stroke: var(--accent); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-socials { display: flex; gap: 12px; }
.hero-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--ink-soft);
  border: 1px solid var(--border-card);
  transition: all .22s var(--ease-out);
}
.hero-socials a:hover {
  color: var(--accent); border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500;
  z-index: 2;
  animation: scrollBounce 2.6s ease-in-out infinite;
  transition: color .18s ease;
}
.hero-scroll:hover { color: var(--accent); }
.hero-scroll .icon { width: 16px; height: 16px; }
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- sections ---------- */
.section { padding: 70px 0; }

.section-eyebrow,
.section-title,
.section-intro {
  text-align: center;
}

.section-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-size: 28px; margin-bottom: 12px; font-weight: 500;
  letter-spacing: -0.015em;
}
.section-intro {
  font-size: 14.5px; color: var(--muted);
  max-width: 560px; margin: 0 auto 32px;
  line-height: 1.6;
}

/* ---------- cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- about ---------- */
.about-card { padding: 32px 36px; }
.about-card p { font-size: 15px; margin-bottom: 14px; }
.about-card p:last-of-type { margin-bottom: 0; }
.about-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border-card);
}
.fact { text-align: center; }
.fact-num {
  display: block; font-family: var(--display);
  font-size: 38px; font-weight: 600; color: var(--accent);
  line-height: 1; letter-spacing: -0.02em;
}
.fact-label {
  display: block; font-size: 13px; color: var(--muted); margin-top: 8px;
}

/* ---------- filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 28px;
}
.filter-btn {
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  padding: 7px 16px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7); color: var(--muted);
  border: 1px solid var(--border-card); cursor: pointer;
  transition: all .2s var(--ease-out);
}
.filter-btn:hover { color: var(--ink); border-color: var(--accent); }
.filter-btn.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* ---------- projects ---------- */
.projects-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.project-card {
  padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.project-card.filter-hide,
.project-card.page-hide { display: none; }

.project-image {
  display: block; position: relative;
  aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, #e7eefb 0%, #d4dff5 100%);
}
.project-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
  display: block;
}
.project-image:hover img { transform: scale(1.04); }
.project-image::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(58, 100, 200, 0); transition: background .25s ease;
  pointer-events: none;
}
.project-image:hover::after { background: rgba(58, 100, 200, 0.06); }

.project-body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; flex-grow: 1;
}

.project-top {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.project-tag {
  font-size: 12px; font-weight: 500;
  background: var(--accent-soft); color: var(--accent-soft-ink);
  padding: 3px 11px; border-radius: var(--radius-pill);
}
.project-meta { font-size: 12.5px; color: var(--muted); }

.project-card h3 {
  font-size: 17px; margin-bottom: 12px; font-weight: 500;
}

.project-bullets {
  list-style: none; display: flex; flex-direction: column;
  gap: 7px; margin-bottom: 16px; flex-grow: 1;
}
.project-bullets li {
  font-size: 14px; color: var(--muted); line-height: 1.55;
}
.project-bullets li strong {
  color: var(--accent); font-weight: 600; margin-right: 2px;
}

.project-tools {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.project-tools span {
  font-size: 12px; color: var(--ink-soft);
  background: #f3f5fa; border: 1px solid var(--border-card);
  padding: 3px 9px; border-radius: 6px;
}
.project-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--accent);
  transition: gap .18s var(--ease-out); align-self: flex-start;
}
.project-link:hover { gap: 10px; color: var(--accent-dark); }
.project-link .icon { width: 15px; height: 15px; }

/* ---------- pagination ---------- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 36px;
}
.pagination.hidden { display: none; }
.page-arrow,
.page-num {
  font-family: var(--sans);
  min-width: 36px; height: 36px;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  transition: all .18s ease;
  padding: 0;
}
.page-arrow:hover:not(:disabled),
.page-num:hover { border-color: var(--accent); color: var(--accent); }
.page-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.page-num.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.page-nums { display: flex; gap: 4px; }

/* ---------- skills ---------- */
.skills-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.skill-card { padding: 24px 26px 26px; }
.skill-card h3 {
  font-size: 16px; margin-bottom: 14px; font-weight: 500;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips span {
  font-size: 13px; color: var(--ink-soft);
  background: #f3f5fa; border: 1px solid var(--border-card);
  padding: 4px 11px; border-radius: var(--radius-pill);
  transition: all .18s ease;
}
.chips span:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-soft);
}

/* ---------- experience & education ---------- */
.timeline { display: flex; flex-direction: column; gap: 18px; }
.exp-card { padding: 26px 30px; }
.exp-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.exp-card h3 {
  font-size: 17px; font-weight: 500;
}
.exp-date {
  font-size: 13.5px; color: var(--muted); font-weight: 500; white-space: nowrap;
}
.exp-company {
  font-size: 15px; font-weight: 500; color: var(--accent);
  margin: 4px 0 12px;
}
.exp-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.exp-card li {
  font-size: 14.5px; color: var(--muted); padding-left: 20px; position: relative;
}
.exp-card li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.edu-card { border-color: var(--accent-soft); background: #fbfcfe; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px;
}
.contact-form { padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  padding: 10px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fbfcfe; transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%; resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 100, 200, 0.12);
}
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.form-status { font-size: 13.5px; margin: 0; }
.form-status.success { color: #1f7a4d; }
.form-status.error { color: #b3261e; }

.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 13px;
  background: var(--card); border: 1px solid var(--border-card);
  border-radius: var(--radius-sm); padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  transition: all .2s var(--ease-out);
}
.contact-item:hover { border-color: var(--accent); transform: translateX(3px); }
.contact-item .icon { width: 20px; height: 20px; color: var(--accent); }
.contact-item span { display: flex; flex-direction: column; font-size: 14px; color: var(--ink-soft); }
.contact-item strong {
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ---------- footer ---------- */
.footer {
  padding: 32px 0; margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer p { font-size: 13.5px; color: var(--muted); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: var(--muted); transition: color .15s ease; }
.footer-socials a:hover { color: var(--accent); }
.footer-socials .icon { width: 19px; height: 19px; }

/* ---------- scroll reveal (re-fires on scroll up + down) ---------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .skills-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container, .nav-inner { padding-left: 20px; padding-right: 20px; }

  /* nav — cleaner, more legible top bar */
  .nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(28, 48, 92, 0.08);
  }
  .nav-inner { padding: 11px 20px; }
  .nav-logo { font-size: 16px; letter-spacing: 0; }
  .nav-toggle { display: flex; padding: 8px; margin-right: -8px; gap: 5px; }
  .nav-toggle span { width: 22px; height: 2.5px; }

  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    padding: 8px 20px 16px;
    border-bottom: 1px solid rgba(28, 48, 92, 0.08);
    box-shadow: 0 14px 28px rgba(28, 48, 92, 0.07);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 460px; }
  .nav-links a:not(.btn) {
    width: 100%; padding: 12px 2px;
    font-size: 15px; color: var(--ink-soft);
    border-bottom: 1px solid rgba(28, 48, 92, 0.06);
  }
  .nav-links a:not(.btn):last-child { border-bottom: none; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a:not(.btn).active { color: var(--accent); }

  .section { padding: 50px 0; }
  .section-title { font-size: 24px; }
  .section-intro { font-size: 14px; padding: 0 4px; }

  /* hero — calmer background, smaller name, no clutter */
  .hero { padding: 84px 0 56px; min-height: 90vh; }
  .hero h1 { font-size: clamp(30px, 9.5vw, 52px); letter-spacing: -0.022em; }
  .hero-title { font-size: 17px; margin-bottom: 14px; }
  .hero-tagline { font-size: 15.5px; max-width: 100%; margin-bottom: 20px; }
  .hero-location { margin-bottom: 22px; }
  .hero-actions { margin-bottom: 22px; }
  .hero-blob { filter: blur(60px); opacity: 0.55; }
  .hero-blob-1 { width: 320px; height: 320px; top: -120px; right: -100px; }
  .hero-blob-2 { width: 280px; height: 280px; bottom: -120px; left: -100px; }
  .hero-blob-3 { width: 180px; height: 180px; }
  .hero-shape-1 { width: 56px; height: 56px; top: 14%; right: 6%; }
  .hero-shape-2 { top: 22%; left: 8%; }
  .hero-shape-4 { width: 40px; height: 40px; bottom: 14%; left: 6%; }
  .hero-shape-3, .hero-shape-5, .hero-shape-6 { display: none; }
  .hero-scroll { display: none; }
  .hero-grid { background-size: 28px 28px; opacity: 0.45; }

  /* layout */
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-card, .contact-form { padding: 24px 22px; }
  .about-facts { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; margin-top: 22px; }
  .exp-card { padding: 22px 22px; }
  .footer-inner { flex-direction: column; }

  /* readability and tap targets */
  .project-card h3 { font-size: 18px; }
  .project-bullets li { font-size: 14.5px; }
  .project-body { padding: 22px 22px 24px; }
  .filter-btn { font-size: 14px; padding: 9px 17px; }
  .filters { gap: 7px; margin-bottom: 24px; }
  .page-arrow, .page-num { min-width: 42px; height: 42px; font-size: 14.5px; }
  .pagination { gap: 8px; margin-top: 32px; }
  .exp-head h3 { font-size: 18px; }
  .exp-date { font-size: 13px; }
  .contact-item { padding: 14px 16px; }
  .chips span { font-size: 13.5px; padding: 5px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-inner > * { opacity: 1; transform: none; transition: none; animation: none; }
  .hero-blob, .hero-scroll { animation: none; }
  .project-image img, .project-card { transition: none; }
}
