/* helper for lucide icon hover */
    .icon-hover:where(svg){transition: transform .18s ease, opacity .18s ease;}
    .icon-hover:hover svg{ transform: translateY(-3px) scale(1.06); opacity: .95; }

/* Subtle press animation for all clickable buttons */
    .clickable {
      transition: transform 0.15s ease, opacity 0.15s ease;
    }
    .clickable:active {
      transform: scale(0.93);
      opacity: 0.85;
    }
.hover-expand {
      transition: transform 0.15s ease, opacity 0.15s ease;
    }
    /* Search input transition */
    #search-bar {
      transition: all 0.3s ease;
      width: 0;
      opacity: 0;
    }

  @keyframes spinShrink {
    0% { transform: rotate(0deg) scale(1); opacity: 1; }
    100% { transform: rotate(90deg) scale(0.5); opacity: 0; }
  }
  @keyframes spinExpand {
    0% { transform: rotate(-90deg) scale(0.5); opacity: 0; }
    100% { transform: rotate(0deg) scale(1); opacity: 1; }
  }
  .spin-shrink { animation: spinShrink 0.25s ease forwards; }
  .spin-expand { animation: spinExpand 0.3s ease forwards; }

  /* .hover-expand {
    @apply transition-all duration-300 ease-out transform hover:scale-[1.03] hover:shadow-lg active:scale-[0.97];
  } */

/* ========================================
   VANILLA CSS CONVERSION FROM TAILWIND
   ======================================== */

/* Body / global styles moved from Tailwind to vanilla CSS */
body {
  background-color: var(--bg);
  color: var(--color-text);
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
.a:hover {
  color: var(--color-primary);
}
.links {
  list-style: none;
}
button{
  outline: none;
  border: none;
  background: transparent;
}
.btn {
  background-color: var(--color-primary);
  user-select: none;
  cursor: pointer;
}
.btn-f {
  z-index: 0;
  display: flex;
  position: inherit
}
.btn-h, #prev, #next {
  cursor: pointer;
}
ul, ol {
  list-style: none;
}
#contact-modal {
  z-index: 999999;
}

/* Small utility to preserve the previous "antialiased" tailwind helper on elements */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* --- Utility classes (vanilla replacements for used Tailwind utilities) --- */
/* Layout */
.container { max-width: 80rem; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-none { max-width: none; }
.max-w-90p { max-width: 90%; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mx-6 { margin-left: 1.5rem; margin-right: 1.5rem; }
.mx-12 { margin-left: 3rem; margin-right: 3rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-28 { padding-top: 7rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }
.mt-20 { margin-top: 5rem; }
.mb-20 { margin-bottom: 5rem; }
.ml-2 { margin-left: .5rem; }
.mr-2 { margin-right: .5rem; }
.mt-1 { margin-top: .25rem; }
.mt-0-5 { margin-top: -.125rem; }

/* Flex / Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.sm-col-span-2 { grid-column: span 2 / span 2; }
.md-col-span-1 { grid-column: span 1 / span 1; }
.md-col-start-2 { grid-column-start: 2; }

/* Sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-80 { width: 20rem; }
.w-10 { width: 2.5rem; }
.w-8 { width: 2rem; }
.w-14 { width: 3.5rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.max-w-none { max-width: none; }

/* Positioning / visuals */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-6 { bottom: 1.5rem; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-999 { z-index: 999; }
.translate-x-full { transform: translateX(100%); }
.translate-x-0 { transform: translateX(0); }
.translate-y-0 { transform: translateY(0); }
.translate-x--50 { transform: translateX(-50%); }
.translate-x-1-2 { transform: translateX(-50%); }
.translate-y--50 { transform: translateY(-50%); }
.\-translate-y-1\/2 { transform: translateY(-50%); }
.left-1\/2 { left: 50%; }
.\-translate-x-1\/2 { transform: translateX(-50%); }

/* Typography */
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.leading-tight { line-height: 1.05; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.opacity-80 { opacity: .8; }
.select-none { user-select: none; }

/* Buttons / visual helpers */
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid rgba(0,0,0,0.08); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.08); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.hover-expand:hover { transform: translateY(-2px); }
.clickable { cursor: pointer; }
.btn-apply { display:inline-flex; align-items:center; gap:.5rem; }
.btn-about { display:inline-flex; align-items:center; gap:.5rem; border: 3px solid #fff; }

/* Transitions */
.transition { transition: all .2s ease; }
.transition-transform { transition: transform .25s ease; }
.transition-all { transition: all .25s ease; }
.duration-300 { transition-duration: .3s; }
.transform { transform: translateZ(0); }
.hover-scale-105:hover { transform: scale(1.05); }

/* Color utility aliases linked to palette variables */
.bg-bg { background-color: var(--bg); }
.bg-surface { background-color: var(--surface); }
.bg-surface-inner { background-color: var(--surface-inner); }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-black-40 { background-color: rgba(0,0,0,0.4); }
.bg-black-60 { background-color: rgba(0,0,0,0.6); }
.bg-white-50 { background-color: rgba(255,255,255,0.5); }
.bg-white-60 { background-color: rgba(255,255,255,0.6); }
.bg-surface-90 { background-color: rgba(255,255,255,0.9); }
.text-color-text { color: var(--color-text); }
.text-color-primary { color: var(--color-primary); }
.text-muted { color: var(--muted); }
.text-white-90 { color: rgba(255,255,255,0.9); }
.text-white { color: #ffffff; }
.border-muted { border-color: var(--muted); }
.border-shadow { border-color: var(--shadow); }
.text--color-primary { color: var(--color-primary); }

/* Special classes used in the layout */
.backdrop-blur { backdrop-filter: blur(20px); }
.backdrop-blur-2 { backdrop-filter: blur(20px); }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }
.absolute-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* Dots / progress */
.dot { display:inline-block; }
.progress { transition: width .3s linear; }

/* Responsive helpers */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2,1fr); }
  .sm\:inline { display: inline; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2,1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3,1fr); }
  .md\:mx-12 { margin-left: 3rem; margin-right: 3rem; }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-start-2 { grid-column-start: 2; }
}

/* Small helpers for form-like elements */
.focus\:outline-none:focus { outline: none; }
.border-2 { border-width: 2px; }

/* Hover helpers used throughout the markup */
.hover-text-color-primary:hover { color: var(--color-primary); }
.hover-bg-bg:hover { background-color: var(--bg); }
.hover-shadow-md:hover { box-shadow: 0 4px 6px rgba(0,0,0,0.08); }
.hover-shadow-lg:hover { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.hover-scale-103:hover { transform: scale(1.03); }
.hover-opacity-95:hover { opacity: .95; }
.bg-color-primary { background-color: var(--color-primary); }

/* Additional helpers for opacity-based backgrounds */
.bg-black-40 { background-color: rgba(0,0,0,0.4); }
.bg-black-60 { background-color: rgba(0,0,0,0.6); }
.hover-bg-black-60:hover { background-color: rgba(0,0,0,0.6); }
.hover-bg-black-40:hover { background-color: rgba(0,0,0,0.4); }
.w-90p { width: 90%; }
.bg-white-50 { background-color: rgba(255,255,255,0.5); }
.bg-white-60 { background-color: rgba(255,255,255,0.6); }
.bg-white-50 { background-color: rgba(255,255,255,0.5); }




/* ===== LAYOUT & DISPLAY ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.hidden { display: none !important; }
.overflow-hidden { overflow: hidden; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }

/* ===== POSITIONING & SIZING ===== */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.transform { transform: translate(0, 0); }
.cursor-pointer { cursor: pointer; }

/* Inset utilities */
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-1 { left: 50%; }
.left-5 { left: 1.25rem; }
.right-5 { right: 1.25rem; }
.right-3 { right: 0.75rem; }
.right-6 { right: 1.5rem; }
.top-1 { top: 50%; }
.top-3 { top: 0.75rem; }
.bottom-6 { bottom: 1.5rem; }
.bottom-24 { bottom: 6rem; }

/* Z-index */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-999 { z-index: 999; }

/* ===== SPACING ===== */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mx-12 { margin-left: 3rem; margin-right: 3rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-auto { margin-top: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-28 { padding-top: 7rem; }
.pb-6 { padding-bottom: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

/* ===== SIZING ===== */
.w-full { width: 100%; }
.w-80 { width: 20rem; }
.w-14 { width: 3.5rem; }
.w-10 { width: 2.5rem; }
.w-8 { width: 2rem; }
.w-3 { width: 0.75rem; }
.w-0 { width: 0; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-14 { height: 3.5rem; }
.h-10 { height: 2.5rem; }
.h-8 { height: 2rem; }
.h-3 { height: 0.75rem; }
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-sm { max-width: 24rem; }
.max-w-\[90\] { max-width: 90%; }
.max-w-none { max-width: none; }
.min-w-0 { min-width: 0; }

/* ===== TEXT & TYPOGRAPHY ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: white; }
.text-black { color: black; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }
.text-\[32px\] { font-size: 32px; }
.text-\[64px\] { font-size: 64px; }
.font-bold { font-weight: bold; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-extrabold { font-weight: 800; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.uppercase { text-transform: uppercase; }

/* Text with CSS vars */
.text-\[var\(--color-text\)\] { color: var(--color-text); }
.text-\[var\(--color-primary\)\] { color: var(--color-primary); }
.text-\[var\(--muted\)\] { color: var(--muted); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }

/* ===== BACKGROUND & BORDERS ===== */
.bg-white { background-color: white; }
.bg-black { background-color: black; }
.bg-\[var\(--bg\)\] { background-color: var(--bg); }
.bg-\[var\(--surface\)\] { background-color: var(--surface); }
.bg-\[var\(--surface-inner\)\] { background-color: var(--surface-inner); }
.bg-\[var\(--surface\)\]\/90 { background-color: rgba(var(--surface), 0.3); }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-black\/70 { background-color: rgba(0, 0, 0, 0.7); }
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6); }
.bg-white\/50 { background-color: rgba(255, 255, 255, 0.5); }

.border { border: 1px solid currentColor; }
.border-b { border-bottom: 1px solid currentColor; }
.border-t { border-top: 1px solid currentColor; }
.border-\[var\(--shadow\)\] { border-color: var(--shadow); }
.border-\[var\(--muted\)\] { border-color: var(--muted); }
.border-2 { border-width: 2px; }
.border-3 {border-width: 3px;}

/* ===== SHADOWS ===== */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* ===== BORDER RADIUS ===== */
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-none { border-radius: 0; }

/* ===== TRANSFORMS ===== */
.scale-75 { transform: scale(0.75); }
.scale-95 { transform: scale(0.95); }
.scale-105 { transform: scale(1.05); }
/* .scale-\[0.93\] { transform: scale(0.93); } */
/* .scale-\[0.97\] { transform: scale(0.97); } */
/* .scale-\[1.03\] { transform: scale(1.03); } */
.-translate-y-1 { transform: translateY(-0.25rem); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-x-full { transform: translateX(100%); }
.rotate-45 { transform: rotate(45deg); }

/* ===== TRANSITIONS & ANIMATIONS ===== */
.transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-700 { transition-duration: 700ms; }
.duration-800 { transition-duration: 800ms; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.opacity-80 { opacity: 0.8; }
.opacity-95 { opacity: 0.95; }
.backdrop-blur { backdrop-filter: blur(20px); }
/* .backdrop-blur-\[2px\] { backdrop-filter: blur(2px); } */
.mix-blend-screen { mix-blend-mode: screen; }
.focus:outline-none:focus { outline: none; }
.focus:ring-4:focus { outline: 4px solid rgba(244, 63, 94, 0.5); }

/* ===== RESPONSIVE (md: breakpoint at 768px) ===== */
@media (max-width: 1000px) {
  /* .nav-mid {display: flex;} */
}
@media (max-width: 960px) {
  .nav-mid {display: none;}
  .nav-right {display: none;}
}
@media (max-width: 600px) {
  .nav-right {display: none;}
  .nav-mid {display: none;}
}
@media (min-width: 768px) {
  .nav-mid {display: none;}
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:col-span-1 { grid-column: span 1; }
  .md\:col-start-2 { grid-column-start: 2; }
  .md\:mx-12 { margin-left: 3rem; margin-right: 3rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

@media (min-width: 640px) {
  /* .nav-mid {
      display: none;
    } */
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:col-span-2 { grid-column: span 2; }
  .sm\:flex { display: flex; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:inline { display: inline; }
}

/* ===== CUSTOM COLOR UTILITIES (Replacement for Tailwind arbitrary values) ===== */
.bg-surface-90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-bg { background-color: var(--bg); }
.bg-surface { background-color: var(--surface); }
.bg-surface-inner { background-color: var(--surface-inner); }
.bg-color-primary { background-color: var(--color-primary); }
.text-color-text { color: var(--color-text); }
.text-color-primary { color: var(--color-primary); }
.text-muted { color: var(--muted); }
.border-muted { border-color: var(--muted); }
.border-shadow { border-color: var(--shadow); }
.hover\:text-color-primary:hover { color: var(--color-primary); }
.hover\:bg-bg:hover { background-color: var(--bg); }
.ml-2 { margin-left: 0.5rem; }
.-mt-px { margin-top: -1px; }
