:root {
  --bg: #0f1216;
  --bg-elev: #171b21;
  --border: #262b33;
  --text: #e6e8eb;
  --text-dim: #9aa3af;
  --accent: #6ee7b7;
  --accent-dim: #34d399;
  --link: #93c5fd;
  --radius: 10px;
  --max-w: 960px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.home-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.nav-links a { color: var(--text-dim); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}

.lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 620px;
}

.section { margin: 3rem 0; }
.section h2 {
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
  color: var(--accent);
}

.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
}

.project-card {
  display: block;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.project-card:hover {
  border-color: var(--accent-dim);
  text-decoration: none;
  transform: translateY(-1px);
}

.project-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.project-card p { margin: 0.35rem 0; color: var(--text-dim); font-size: 0.95rem; }

.tag {
  font-size: 0.8rem !important;
  color: var(--accent) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .skill-list { grid-template-columns: 1fr 1fr; }
}
.skill-list li {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Project page layout */
.project-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.project-page .back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.project-page .back:hover {
  color: var(--accent);
  text-decoration: none;
}

.project-page h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin: 0 0 0.35rem;
}

.project-meta {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0 0 2rem;
}

.project-page h2 {
  margin-top: 2.5rem;
  color: var(--accent);
  font-size: 1.2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}

.status-banner {
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.3);
  color: var(--accent);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.dashboard-shot {
  margin: 1rem 0 2rem;
}

.dashboard-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.callout {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
}

.callout p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.callout strong { color: var(--text); }

.takeaway {
  border-left: 3px solid var(--accent-dim);
  padding-left: 0.9rem;
  margin: 0 0 2rem;
  color: var(--text-dim);
}

.takeaway strong { color: var(--text); }

.table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 560px;
}

.data-table th,
.data-table td {
  padding: 0.5rem 0.85rem;
  text-align: right;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  vertical-align: top;
}

.data-table thead th {
  color: var(--text-dim);
  font-weight: 600;
}

.data-table th:first-child,
.data-table td:first-child {
  text-align: left;
  color: var(--text);
  white-space: normal;
}

.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table .se {
  display: block;
  color: var(--text-dim);
  font-size: 0.82em;
}

.data-table tr.indicator td {
  color: var(--text-dim);
  font-style: italic;
}

.data-table tr.indicator {
  border-top: 2px solid var(--border);
}

.table-note {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin: 0 0 2rem;
}

.equation {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.25rem;
  text-align: center;
  font-size: 1.05rem;
  overflow-x: auto;
  white-space: nowrap;
}

.figure {
  margin: 1rem 0 1.75rem;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.figure figcaption {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  color: var(--text);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.contact-link:hover {
  text-decoration: none;
  border-color: var(--accent);
  color: var(--accent);
}

.contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================================
   HOMEPAGE REDESIGN  (scoped to body.home — project pages
   above are untouched; color palette in :root is unchanged)
   ============================================================ */

.home {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.home main {
  max-width: 1160px;
  padding: 2rem 1.5rem 6rem;
}

/* Background decoration: soft glows + faded grid */
.home .bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 82% -8%, rgba(110, 231, 183, 0.10), transparent 70%),
    radial-gradient(40% 40% at -5% 8%, rgba(52, 211, 153, 0.06), transparent 70%);
}

.home .bg-decor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 50% -5%, #000, transparent 65%);
  mask-image: radial-gradient(circle at 50% -5%, #000, transparent 65%);
  opacity: 0.13;
}

/* Glass sticky header */
.home .site-header {
  background: rgba(15, 18, 22, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.home .nav { max-width: 1160px; padding: 1rem 1.5rem; }

.home .nav-links a { transition: color 0.15s ease; }

/* ---------- Shared building blocks ---------- */
.home .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.home .badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.home .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: default;
}

.home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.3rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.home .btn:hover { text-decoration: none; }

.home .btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
  color: #08110d;
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.18);
}
.home .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(52, 211, 153, 0.30);
}

.home .btn-ghost {
  background: var(--bg-elev);
  border-color: var(--border);
  color: var(--text);
}
.home .btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Hero ---------- */
.home .hero {
  border-bottom: none;
  margin-bottom: 1rem;
  padding: 3.5rem 0 2.5rem;
}

.home .hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .home .hero-content { grid-template-columns: 1.4fr 0.6fr; gap: 3.5rem; }
}

.home .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.06);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.home .status-pill:hover {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}
.home .status-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.home .hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 1.1rem;
  background: linear-gradient(180deg, #ffffff, #b7c0cb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home .lede {
  color: var(--text-dim);
  font-size: 1.12rem;
  max-width: 580px;
  margin: 0 0 1.6rem;
}

.home .hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.6rem; }

.home .hero-kpis { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (max-width: 899px) {
  .home .hero-kpis { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}

.home .kpi-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: default;
}
.home .kpi-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.home .kpi-label { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Section headings ---------- */
.home .section { margin: 5rem 0; }
.home .section-head { margin-bottom: 1.9rem; }
.home .section-title {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}

/* ---------- Featured project ---------- */
.home .featured {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--bg-elev), rgba(23, 27, 33, 0.55));
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.home .featured:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}
@media (min-width: 900px) {
  .home .featured { grid-template-columns: 0.85fr 1.15fr; align-items: center; padding: 2.75rem; gap: 3rem; }
}
.home .featured-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}
.home .featured:hover .featured-link { color: var(--accent-dim); }
.home .featured::before {
  content: "";
  position: absolute;
  width: 440px; height: 440px;
  right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.13), transparent 70%);
  pointer-events: none;
}
.home .featured-info { position: relative; z-index: 1; }
.home .featured-info h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  margin: 0.5rem 0 0.9rem;
  line-height: 1.15;
}
.home .featured-info > p { color: var(--text-dim); margin: 0 0 1.3rem; font-size: 1.02rem; }

.home .featured-preview {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 16px;
}
.home .featured-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
}
.home .featured:hover .featured-preview img {
  transform: translateY(-3px) scale(1.01);
}

/* ---------- Project cards ---------- */
.home .project-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .home .project-grid.two { grid-template-columns: 1fr 1fr; }
}

.home .project-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 260px;
  padding: 1.9rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-elev);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.home .project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-dim);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.home .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid var(--border);
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.home .card-icon svg { width: 23px; height: 23px; }
.home .project-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0; line-height: 1.25; }
.home .project-card p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }
.home .card-link {
  margin-top: auto;
  padding-top: 0.6rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap 0.15s ease;
}
.home .project-card:hover .card-link { color: var(--accent-dim); }

/* ---------- Skills ---------- */
.home .skills-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .home .skills-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .home .skills-grid { grid-template-columns: repeat(4, 1fr); } }

.home .skill-card {
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-elev);
}
.home .skill-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0 0 1.1rem;
  color: var(--text);
}
.home .skill-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(110, 231, 183, 0.08);
  color: var(--accent);
  flex-shrink: 0;
}
.home .skill-ico svg { width: 18px; height: 18px; }
.home .skill-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.home .pill {
  font-size: 0.82rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: default;
}

/* ---------- Contact ---------- */
.home .contact-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--bg-elev), rgba(23, 27, 33, 0.5));
  text-align: center;
}
.home .contact-card .contact-links { justify-content: center; }
.home .contact-link { border-radius: 12px; padding: 0.72rem 1.15rem; }

/* ---------- About ---------- */
.home .about-card {
  padding: 2.1rem 2.3rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-elev);
}
.home .about-card p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 0 1.1rem;
}
.home .about-card p:last-child { margin-bottom: 0; }
.home .about-card strong { color: var(--text); font-weight: 600; }

/* ---------- Let's Connect ---------- */
.home .connect {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--bg-elev), rgba(23, 27, 33, 0.5));
}
@media (min-width: 900px) {
  .home .connect { grid-template-columns: 1.7fr 1fr; gap: 3.25rem; padding: 3rem; }
}
.home .connect-main { position: relative; z-index: 1; }
.home .connect-lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 540px;
  margin: 0.75rem 0 1.9rem;
}

.home .connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) { .home .connect-grid { grid-template-columns: 1fr; } }

.home .connect-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.home .connect-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(110, 231, 183, 0.05);
  text-decoration: none;
}
.home .connect-card .cc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(110, 231, 183, 0.08);
  color: var(--accent);
}
.home .connect-card .cc-ico svg { width: 21px; height: 21px; }
.home .connect-card .cc-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.home .connect-card .cc-label { font-weight: 600; font-size: 0.98rem; }
.home .connect-card .cc-sub {
  color: var(--text-dim);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home .connect-aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 900px) {
  .home .connect-aside { padding-left: 3.25rem; border-left: 1px solid var(--border); }
}
.home .info-block { padding: 1.3rem 0; display: flex; flex-direction: column; gap: 0.4rem; }
.home .info-block:first-child { padding-top: 0; }
.home .info-block:last-child { padding-bottom: 0; }
.home .info-block + .info-block { border-top: 1px solid var(--border); }
.home .info-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}
.home .info-value { color: var(--text-dim); font-size: 0.96rem; line-height: 1.5; }
@media (max-width: 899px) {
  .home .info-block:first-child { padding-top: 1.3rem; border-top: 1px solid var(--border); }
}

/* ---------- Footer ---------- */
.home .site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: left;
}
.home .footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.home .footer-logo {
  justify-self: start;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  font-size: 0.9rem;
}
.home .footer-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.home .footer-nav a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.15s ease; }
.home .footer-nav a:hover { color: var(--accent); text-decoration: none; }
.home .footer-nav .sep { color: var(--border); }
.home .footer-copy { justify-self: end; color: var(--text-dim); font-size: 0.85rem; }
@media (max-width: 680px) {
  .home .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 1.1rem; text-align: center; }
  .home .footer-logo, .home .footer-nav, .home .footer-copy { justify-self: center; }
}

/* ---------- Scroll reveal ---------- */
.home .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.home .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .home .reveal { opacity: 1; transform: none; transition: none; }
  .home .btn:hover,
  .home .project-card:hover,
  .home .featured:hover,
  .home .connect-card:hover { transform: none; }
  .home .featured:hover .featured-preview img { transform: none; }
}
