:root {
  --bg1: #ffffff;
  --bg2: #ffffff;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --accent-blue: #2563eb;
  --accent-blue-2: #3b82f6;
  --accent-emerald: #10b981;
  --accent-emerald-2: #34d399;
  --accent-violet: #7c3aed;
  --accent-violet-2: #a855f7;
  --shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.08);
  --radius: 28px;
  --transition: 240ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.container {
  width: min(1400px, 100%);
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(135deg, #F8FAFC 0%, #EAF2FF 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #0F172A;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
}

.brand-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: 'Orbitron', 'Exo 2', ui-sans-serif, system-ui, sans-serif;
}

.brand-main {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 5px;
  text-transform: uppercase;
  line-height: 1.05;
  color: #111827;
}

.brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.2;
  color: #2563EB;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(148, 163, 184, 0.32);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #2563EB, #4F8DFF);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.18);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 24px;
  cursor: pointer;
}

.hero-section {
  position: relative;
  padding: 100px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.02;
  margin: 0 0 28px;
  color: var(--text);
}

.hero-text {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-2));
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(37, 99, 235, 0.24);
}

.btn-secondary {
  color: var(--text);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  width: min(700px, 100%);
  max-width: 700px;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  position: relative;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: inherit;
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0.8) 85%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 65%, rgba(0, 0, 0, 0.8) 85%, rgba(0, 0, 0, 0) 100%);
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.03));
}

.features-section,
.projects-section,
.contact-section {
  padding: 70px 0 60px;
}

.projects-section {
  display: flex;
  flex-direction: column;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  padding: 34px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 68px rgba(15, 23, 42, 0.1);
}

.feature-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.feature-card p,
.feature-card ul {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.feature-card ul {
  list-style: none;
  padding: 0;
}

.feature-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
}

.feature-card li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-blue);
}

.section-shell {
  padding: 44px 44px 20px 44px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.projects-section .section-shell {
  height: auto;
  overflow: visible;
  padding: 44px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: 36px;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.section-head-center {
  text-align: center;
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.search-panel input {
  width: min(560px, 100%);
  padding: 16px 18px;
  border-radius: 22px 0 0 22px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-panel input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.search-panel input::placeholder {
  color: rgba(71, 85, 105, 0.55);
}

.search-clear {
  padding: 16px 22px;
  border: 1px solid #e2e8f0;
  border-left: none;
  border-radius: 0 22px 22px 0;
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.search-clear:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.projects-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  align-items: start;
}

.project-column {
  display: flex;
  flex-direction: column;
  max-height: 825px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

.column-title {
  padding: 20px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.column-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.project-price {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.project-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
  color: var(--text);
}

.project-card p {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.6;
}

.project-actions {
  display: flex;
  margin-top: 20px;
}

.project-card button,
.project-card a {
  margin-top: 0;
}

.btn-card {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 16px 18px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-card:hover {
  transform: translateY(-2px);
}

.project-card.beginner-card .project-badge {
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
}

.project-card.beginner-card .project-price {
  color: #065f46;
}

.project-card.beginner-card .btn-card {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-emerald-2));
  box-shadow: 0 16px 34px rgba(16, 185, 129, 0.22);
}

.project-card.beginner-card .btn-card:hover {
  box-shadow: 0 20px 42px rgba(16, 185, 129, 0.26);
}

.project-card.intermediate-card .project-badge {
  background: rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
}

.project-card.intermediate-card .project-price {
  color: #1e40af;
}

.project-card.intermediate-card .btn-card {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-2));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.project-card.intermediate-card .btn-card:hover {
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.26);
}

.project-card.advanced-card .project-badge {
  background: rgba(124, 58, 237, 0.16);
  color: var(--accent-violet);
}

.project-card.advanced-card .project-price {
  color: #6d28d9;
}

.project-card.advanced-card .btn-card {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-violet-2));
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.22);
}

.project-card.advanced-card .btn-card:hover {
  box-shadow: 0 20px 42px rgba(124, 58, 237, 0.26);
}

.contact-shell {
  background: #ffffff;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 30px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

.contact-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(37, 99, 235, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.contact-icon-image-wrap {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(37, 99, 235, 0.12);
}

.contact-icon-image {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

/* Empty state centered inside projects grid */
.no-projects-message {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
  transform: translateY(-8px);
  pointer-events: none;
  text-align: center;
}

.no-projects-message.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.no-projects-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.no-projects-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(226, 232, 240, 0.6);
  padding: 10px;
  flex-shrink: 0;
}

.no-projects-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  opacity: 0.9;
}

.no-projects-sub {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-label {
  display: block;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 13px;
}

.contact-card strong {
  display: block;
  color: var(--text);
  font-size: 17px;
}

.site-footer {
  padding: 32px 0 42px;
}

.footer-shell {
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: center;
}

.footer-shell span {
  color: #475569;
  font-size: 14px;
}

/* ===== TABLET RESPONSIVENESS (1024px and below) ===== */
@media (max-width: 1024px) {
  .projects-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-column {
    max-height: 950px;
  }

  .project-card {
    height: auto;
    margin-bottom: 20px;
  }
}

/* ===== TABLET RESPONSIVENESS (768px and below) ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Navbar - Compact mobile layout */
  .navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-main {
    font-size: 16px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    gap: 0;
    padding: 16px 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    z-index: 19;
  }

  .site-nav.nav-open {
    display: flex;
  }

  .nav-divider {
    display: none;
  }

  .nav-toggle {
    display: block;
    padding: 8px 12px;
    font-size: 22px;
    color: var(--muted);
  }

  .nav-link {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--muted);
    background: transparent;
  }

  .nav-link:hover {
    color: var(--text);
    background: rgba(37, 99, 235, 0.08);
  }

  .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #2563EB, #4F8DFF);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
  }

  /* Hero Section - Stack vertically */
  .hero-section {
    padding: 60px 0 50px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-width: auto;
    padding: 14px 20px;
    font-size: 15px;
  }

  .hero-image-frame {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Features Grid - Stack vertically */
  .features-section {
    padding: 50px 0 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
    border-radius: 20px;
    min-height: auto;
    gap: 14px;
  }

  .feature-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .feature-card p,
  .feature-card ul {
    font-size: 15px;
    line-height: 1.75;
  }

  .feature-card li {
    margin-bottom: 10px;
    padding-left: 20px;
  }

  /* Projects Section */
  .projects-section {
    padding: 50px 0 40px;
  }

  .section-shell {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .section-head p {
    font-size: 16px;
    line-height: 1.75;
  }

  /* Search Panel */
  .search-panel {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .search-panel input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 15px;
  }

  .search-clear {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    margin-top: 0;
  }

  /* Cards Grid - Stack vertically */
  .projects-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .project-column {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding-right: 0;
  }

  .column-title {
    padding: 16px;
    font-size: 16px;
  }

  .column-cards {
    gap: 14px;
    padding: 12px;
  }

  .project-card {
    height: auto;
    width: 100%;
    padding: 18px;
    margin-bottom: 16px;
  }

  .projects-section .section-shell {
    height: auto;
    overflow: visible;
  }

  .project-card h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .project-card p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.75;
  }

  .project-badge {
    font-size: 12px;
    padding: 8px 14px;
    min-width: 85px;
  }

  .project-price {
    font-size: 16px;
  }

  .btn-card {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 14px;
  }

  /* Contact Section */
  .contact-section {
    padding: 50px 0 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .contact-card {
    padding: 20px 24px;
    border-radius: 20px;
    gap: 16px;
  }

  .contact-icon,
  .contact-icon-image-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .contact-icon-image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
  }

  .no-projects-message {
    grid-column: 1 / -1;
    padding: 48px 30px;
  }

  .no-projects-inner {
    justify-content: center;
    text-align: center;
    gap: 14px;
  }

  .no-projects-icon {
    width: 56px;
    height: 56px;
  }

  .no-projects-title {
    font-size: 20px;
  }

  .no-projects-sub {
    font-size: 13px;
  }

  .contact-label {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .contact-card strong {
    font-size: 15px;
  }

  /* Footer */
  .site-footer {
    padding: 24px 0 32px;
  }

  .footer-shell {
    padding-top: 12px;
  }

  .footer-shell span {
    font-size: 13px;
    text-align: center;
  }
}

/* ===== MOBILE PHONE RESPONSIVENESS (480px and below) ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  /* Navbar - Ultra compact */
  .navbar-inner {
    padding: 14px 0;
    gap: 12px;
  }

  .brand-link {
    gap: 10px;
    flex-shrink: 1;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    padding: 6px 10px;
    font-size: 20px;
    flex-shrink: 0;
  }

  .site-nav {
    padding: 12px 12px;
  }

  .nav-link {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
  }

  /* Hero Section - Extreme compact */
  .hero-section {
    padding: 40px 0 30px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
    letter-spacing: 0.2em;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
    min-width: auto;
    border-radius: 14px;
  }

  .btn-primary,
  .btn-secondary {
    min-width: 100%;
  }

  /* Features Section */
  .features-section {
    padding: 40px 0 30px;
  }

  .features-grid {
    gap: 16px;
  }

  .feature-card {
    padding: 18px;
    border-radius: 16px;
    gap: 12px;
  }

  .feature-card h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .feature-card p,
  .feature-card ul {
    font-size: 13px;
    line-height: 1.7;
  }

  .feature-card li {
    margin-bottom: 8px;
    padding-left: 18px;
  }

  .feature-card li::before {
    top: 7px;
    width: 6px;
    height: 6px;
  }

  /* Projects Section */
  .projects-section {
    padding: 40px 0 30px;
  }

  .section-shell {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .section-head p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Search Panel */
  .search-panel {
    gap: 10px;
    margin-bottom: 24px;
  }

  .search-panel input {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
  }

  .search-clear {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
  }

  /* Cards Grid */
  .cards-grid {
    gap: 16px;
  }

  .project-card {
    padding: 18px;
    border-radius: 16px;
  }

  .project-card-top {
    margin-bottom: 14px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .project-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .project-card p {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.7;
  }

  .project-badge {
    font-size: 11px;
    padding: 6px 12px;
    min-width: 75px;
  }

  .project-price {
    font-size: 15px;
  }

  .btn-card {
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 12px;
  }

  /* Contact Section */
  .contact-section {
    padding: 40px 0 30px;
  }

  .contact-grid {
    gap: 12px;
    margin-top: 20px;
  }

  .contact-card {
    padding: 16px 18px;
    border-radius: 16px;
    gap: 14px;
  }

  .contact-icon,
  .contact-icon-image-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .contact-icon-image {
    width: 26px;
    height: 26px;
    border-radius: 4px;
  }

  .no-projects-message {
    grid-column: 1 / -1;
    padding: 40px 20px;
  }

  .no-projects-inner {
    justify-content: center;
    text-align: center;
    gap: 12px;
  }

  .no-projects-icon {
    width: 52px;
    height: 52px;
  }

  .no-projects-title {
    font-size: 18px;
  }

  .no-projects-sub {
    font-size: 13px;
  }

  .contact-label {
    font-size: 11px;
    margin-bottom: 3px;
  }

  .contact-card strong {
    font-size: 14px;
  }

  /* Footer */
  .site-footer {
    padding: 20px 0 24px;
  }

  .footer-shell {
    padding-top: 10px;
  }

  .footer-shell span {
    font-size: 12px;
  }
}

/* ===== DESKTOP LAYOUT (1024px+) ===== */
@media (min-width: 1025px) {
  .features-grid,
  .cards-grid,
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
}
#noProjectsMessage {
  display: none;
}

#noProjectsMessage.visible {
  display: flex;
}