/* ============================================
   Vanilla CSS - eviecarrick.com
   Replaces Tailwind CSS utility classes
   ============================================ */

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

a {
  text-decoration: inherit;
  color: inherit;
}

/* Base */
html {
  height: 100%;
  scroll-padding-top: 10rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #060507;
  background-color: white;
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ---- Layout & Positioning ---- */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.z-50 { z-index: 50; }
.-z-10 { z-index: -10; }

/* ---- Sizing ---- */
.w-full { width: 100%; }
.w-6 { width: 1.5rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-\[420px\] { width: 420px; }
.h-full { height: 100%; }
.h-6 { height: 1.5rem; }
.h-40 { height: 10rem; }
.h-64 { height: 16rem; }
.h-\[500px\] { height: 500px; }
.min-h-screen { min-height: 100vh; }
.min-h-\[60vh\] { min-height: 60vh; }
.min-h-\[12vh\] { min-height: 12vh; }
.max-w-full { max-width: 100%; }
.max-h-full { max-height: 100%; }
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }

.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Display ---- */
.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

/* ---- Flexbox ---- */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-items-center { justify-items: center; }

/* ---- Spacing (children) ---- */
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }

/* ---- Grid ---- */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-8 { gap: 2rem; }
.gap-6 { gap: 1.5rem; }
.gap-2 { gap: 0.5rem; }

/* ---- Padding ---- */
.p-8 { padding: 2rem; }
.p-6 { padding: 1.5rem; }
.p-4 { padding: 1rem; }
.p-2 { padding: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }

/* ---- Margin ---- */
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mt-48 { margin-top: 12rem; }
.mt-32 { margin-top: 8rem; }
.mt-20 { margin-top: 5rem; }
.mt-8 { margin-top: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.-mt-2 { margin-top: -0.5rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }

/* ---- Typography ---- */
.font-sans { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-9xl { font-size: 8rem; line-height: 1; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-center { text-align: center; }

/* ---- Text Colors ---- */
.text-\[\#060507\] { color: #060507; }
.text-\[\#F541A6\] { color: #F541A6; }
.text-\[\#D93990\] { color: #D93990; }
.text-\[\#3ED4AF\] { color: #3ED4AF; }
.text-white { color: white; }
.text-gray-900 { color: #111827; }
.text-gray-600 { color: #4B5563; }
.text-gray-50 { color: #F9FAFB; }
.text-teal-600 { color: #0D9488; }
.text-teal-700 { color: #0F766E; }

/* ---- Background Colors ---- */
.bg-white { background-color: white; }
.bg-transparent { background-color: transparent; }
.bg-gray-50 { background-color: #F9FAFB; }
.bg-\[\#F7FCFD\]\/60 { background-color: rgba(247, 252, 253, 0.6); }
.bg-\[\#F7FCFD\]\/90 { background-color: rgba(247, 252, 253, 0.9); }
.bg-\[\#3ED4AF\] { background-color: #3ED4AF; }

/* ---- Gradient ---- */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.from-black\/30 { --tw-gradient-stops: rgba(0,0,0,0.3), var(--tw-gradient-via, transparent), var(--tw-gradient-to, transparent); }
.via-black\/20 { --tw-gradient-via: rgba(0,0,0,0.2); --tw-gradient-stops: var(--tw-gradient-from, transparent), rgba(0,0,0,0.2), var(--tw-gradient-to, transparent); }
.to-white { --tw-gradient-to: white; }

/* Simplified gradient combo used in the project */
.bg-gradient-to-b.from-black\/30.via-black\/20.to-white {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.2), white);
}

/* ---- Borders ---- */
.border-2 { border-width: 2px; border-style: solid; }
.border-\[\#F541A6\] { border-color: #F541A6; }
.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }

/* ---- Shadows ---- */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }

/* ---- Overflow ---- */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* ---- Object Fit ---- */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-top { object-position: top; }

/* ---- Transform ---- */
.transform { transform: translateZ(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\.25 { transform: translateY(-0.3125rem); }
.translate-x-0 { transform: translateX(0); }

/* ---- Transitions ---- */
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 200ms; transition-timing-function: ease; }
.transition-shadow { transition-property: box-shadow; transition-duration: 200ms; transition-timing-function: ease; }
.transition-opacity { transition-property: opacity; transition-duration: 200ms; transition-timing-function: ease; }
.transition-transform { transition-property: transform; transition-duration: 200ms; transition-timing-function: ease; }
.transition-all { transition-property: all; transition-duration: 200ms; transition-timing-function: ease; }
.duration-300 { transition-duration: 300ms; }

/* ---- Backdrop ---- */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ---- Hover States ---- */
.hover\:text-\[\#D93990\]:hover { color: #D93990; }
.hover\:text-\[\#F541A6\]:hover { color: #F541A6; }
.hover\:text-\[\#3ED4AF\]:hover { color: #3ED4AF; }
.hover\:text-white:hover { color: white; }
.hover\:text-teal-700:hover { color: #0F766E; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.hover\:opacity-80:hover { opacity: 0.8; }

/* ---- Group Hover ---- */
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:text-\[\#D93990\] { color: #D93990; }

/* ---- Custom: Logo Stroke ---- */
.logo-stroke {
  -webkit-text-stroke: 2px #F541A6;
  color: transparent;
  transition: -webkit-text-stroke 0.3s;
}
.logo-stroke:hover {
  -webkit-text-stroke: 2px #D93990;
}

/* ---- Custom: Image Fade-in ---- */
.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  will-change: opacity;
}
.fade-in.loaded {
  opacity: 1;
}

/* ---- Responsive: md (768px) ---- */
@media (min-width: 768px) {
  .md\:hidden { display: none !important; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .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-3 { grid-column: span 3 / span 3; }
  .md\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:w-80 { width: 20rem; }
  .md\:h-80 { height: 20rem; }
}

/* ---- Responsive: lg (1024px) ---- */
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
}

/* Note: Classes like font-sans, text-[#060507], bg-white, overflow-x-hidden
   on <html>/<body> tags are handled by the base styles above and can be
   left in the HTML for clarity or removed — both approaches work since
   the base styles apply globally. */
