@charset "UTF-8";

/*! Tailwind CSS v3 - compiled for mehy-portfolio */

/* - CSS custom property defaults (required for gradients, shadows) - */
:root {
  --tw-gradient-from: transparent;
  --tw-gradient-to: transparent;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-shadow: 0 0 #0000;
  --tw-shadow-color: rgba(0,0,0,0.1);
  --tw-ring-shadow: 0 0 #0000;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
}

/* - Base Reset - */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #E4E4E7; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: ui-sans-serif,system-ui,-apple-system,sans-serif; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; line-height: inherit; font-family: 'Archivo', sans-serif; color: #09090B; background: #FAFAFA; overflow-x: hidden; }
hr { height: 0; color: inherit; border-top-width: 1px; }
abbr[title] { text-decoration: underline dotted; }
h1,h2,h3,h4,h5,h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b,strong { font-weight: bolder; }
code,kbd,samp,pre { font-family: ui-monospace,monospace; font-size: 1em; }
small { font-size: 80%; }
sub,sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; } sup { top: -0.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button,input,optgroup,select,textarea { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button,select { text-transform: none; }
button,[type='button'],[type='reset'],[type='submit'] { -webkit-appearance: button; background-color: transparent; background-image: none; }
:-moz-focusring { outline: auto; }
:-moz-ui-invalid { box-shadow: none; }
progress { vertical-align: baseline; }
::-webkit-inner-spin-button,::-webkit-outer-spin-button { height: auto; }
[type='search'] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre { margin: 0; }
fieldset,legend,ol,ul,menu { margin: 0; padding: 0; }
ol,ul,menu { list-style: none; }
textarea { resize: vertical; }
input::placeholder,textarea::placeholder { opacity: 1; color: #9ca3af; }
button,[role="button"] { cursor: pointer; }
:disabled { cursor: default; }
img,svg,video,canvas,audio,iframe,embed,object { display: block; vertical-align: middle; }
img,video { max-width: 100%; height: auto; }
[hidden] { display: none; }

::selection { background: #2563EB; color: white; }


/* - Layout - */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0px; }
.top-0 { top: 0px; }
.top-6 { top: 1.5rem; }
.right-0 { right: 0px; }
.right-6 { right: 1.5rem; }
.left-0 { left: 0px; }
.z-50 { z-index: 50; }

/* - Display & Flex - */
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }

/* - Grid columns - */
.grid-cols-1 { grid-template-columns: repeat(1,minmax(0,1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }

/* - Gap - */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-16 { gap: 4rem; }

/* - Width / Height - */
.w-1  { width: 0.25rem; }
.w-2  { width: 0.5rem; }
.w-4  { width: 1rem; }
.w-5  { width: 1.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-full { width: 100%; }
.h-2  { height: 0.5rem; }
.h-4  { height: 1rem; }
.h-5  { height: 1.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* - Max-Width - */
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-lg  { max-width: 32rem; }
.max-w-md  { max-width: 28rem; }

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

/* - Aspect Ratio - */
.aspect-\[16\/10\] { aspect-ratio: 16/10; }

/* - Margin - */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1  { margin-top: 0.25rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-8  { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }

/* - Padding - */
.p-4  { padding: 1rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }
.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-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-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-8  { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pb-16 { padding-bottom: 4rem; }

/* - Space - */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* - Typography - */
.font-heading { font-family: "Space Grotesk", sans-serif; }
.font-body    { font-family: "Archivo", sans-serif; }
.font-bold    { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium  { font-weight: 500; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.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-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }
.text-center { text-align: center; }
.leading-\[0\.95\] { line-height: 0.95; }
.leading-snug   { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide  { letter-spacing: 0.025em; }

/* - Colors (custom palette) - */
.text-primary    { color: #18181B; }
.text-secondary  { color: #3F3F46; }
.text-accent     { color: #2563EB; }
.text-on-primary { color: #FFFFFF; }
.text-on-accent  { color: #FFFFFF; }
.text-muted-fg   { color: #64748B; }
.text-accent\/20  { color: rgba(37,99,235,0.20); }
.text-accent\/40  { color: rgba(37,99,235,0.40); }
.text-on-primary\/30 { color: rgba(255,255,255,0.30); }
.text-on-primary\/40 { color: rgba(255,255,255,0.40); }
.text-on-primary\/50 { color: rgba(255,255,255,0.50); }
.text-on-primary\/60 { color: rgba(255,255,255,0.60); }
.text-emerald-500\/20 { color: rgba(16,185,129,0.20); }
.text-purple-500\/20  { color: rgba(139,92,246,0.20); }

.bg-primary   { background-color: #18181B; }
.bg-accent    { background-color: #2563EB; }
.bg-card      { background-color: #FFFFFF; }
.bg-muted     { background-color: #E8ECF0; }
.bg-border    { background-color: #E4E4E7; }
.bg-red-500   { background-color: #EF4444; }
.bg-emerald-500 { background-color: #10B981; }
.bg-accent\/20  { background-color: rgba(37,99,235,0.20); }
.bg-muted\/50   { background-color: rgba(232,236,240,0.50); }
.bg-primary\/0  { background-color: rgba(24,24,27,0); }
.bg-white\/5    { background-color: rgba(255,255,255,0.05); }
.bg-bg\/80      { background-color: rgba(250,250,250,0.80); }

/* - Gradients - */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-accent\/10  { --tw-gradient-from: rgba(37,99,235,0.10); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-accent\/20  { --tw-gradient-from: rgba(37,99,235,0.20); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-emerald-500\/10 { --tw-gradient-from: rgba(16,185,129,0.10); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-purple-500\/10  { --tw-gradient-from: rgba(139,92,246,0.10); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-muted   { --tw-gradient-stops: var(--tw-gradient-from), #E8ECF0, var(--tw-gradient-to); }
.via-primary { --tw-gradient-stops: var(--tw-gradient-from), #18181B, var(--tw-gradient-to); }
.to-accent\/5  { --tw-gradient-to: rgba(37,99,235,0.05); }
.to-accent\/10 { --tw-gradient-to: rgba(37,99,235,0.10); }
.to-emerald-500\/5 { --tw-gradient-to: rgba(16,185,129,0.05); }
.to-purple-500\/5  { --tw-gradient-to: rgba(139,92,246,0.05); }

/* - Borders - */
.border   { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-border   { border-color: #E4E4E7; }
.border-border\/50  { border-color: rgba(228,228,231,0.50); }
.border-primary  { border-color: #18181B; }
.border-white\/10 { border-color: rgba(255,255,255,0.10); }
.border-white\/20 { border-color: rgba(255,255,255,0.20); }

/* - Border Radius - */
.rounded-lg  { border-radius: 0.5rem; }
.rounded-xl  { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* - Shadows - */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }

/* - Transitions - */
.transition-colors    { transition-property: color,background-color,border-color; 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; }
.duration-500 { transition-duration: 500ms; }

/* - Cursor - */
.cursor-pointer { cursor: pointer; }

/* - Misc - */
.group {} /* marker class, no rules */
.text-left { text-align: left; }

/* - Hover states - */
.hover\:text-primary:hover    { color: #18181B; }
.hover\:text-accent:hover     { color: #2563EB; }
.hover\:text-on-accent:hover  { color: #FFFFFF; }
.hover\:bg-accent:hover       { background-color: #2563EB; }
.hover\:bg-accent\/90:hover   { background-color: rgba(37,99,235,0.90); }
.hover\:bg-white\/10:hover    { background-color: rgba(255,255,255,0.10); }
.hover\:border-primary:hover  { border-color: #18181B; }
.hover\:border-accent:hover   { border-color: #2563EB; }
.hover\:border-accent\/30:hover { border-color: rgba(37,99,235,0.30); }
.hover\:shadow-lg:hover  { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.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\:shadow-accent\/5:hover  { --tw-shadow-color: rgba(37,99,235,0.05);  box-shadow: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); }
.hover\:shadow-accent\/10:hover { --tw-shadow-color: rgba(37,99,235,0.10); box-shadow: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); }
.hover\:shadow-accent\/20:hover { --tw-shadow-color: rgba(37,99,235,0.20); box-shadow: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); }
.hover\:shadow-accent\/30:hover { --tw-shadow-color: rgba(37,99,235,0.30); box-shadow: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); }

/* - Group-hover - */
.group:hover .group-hover\:text-accent    { color: #2563EB; }
.group:hover .group-hover\:bg-primary\/5 { background-color: rgba(24,24,27,0.05); }
.group:hover .group-hover\:translate-x-1  { transform: translateX(0.25rem); }

/* - Responsive: md (-768px) - */
@media (min-width: 768px) {
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-5xl { font-size: 3rem;     line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem;  line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem;   line-height: 1; }
  .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\:grid-cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

/* - Mobile overrides - */
@media (max-width: 768px) {
  .cs-content-wrap { padding: 2rem 1.25rem 4rem !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}


/* - Custom Components - */

/* Cat cursor -- system cursor hidden via injected style tag in JS */

/* Reveal animations */
.reveal      { opacity: 0; transform: translateY(40px); }
.reveal.active { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-left.active { opacity: 1; transform: translateX(0); transition: opacity 0.8s ease, transform 0.8s ease; }

/* Stagger */
.stagger-children > * { opacity: 0; transform: translateY(20px); }

/* Project card */
.project-card img { transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.project-card:hover img { transform: scale(1.05); }

/* Case study overlay — no longer used */
.case-study-overlay { display: none; }

/* Case study full page */
.case-study-panel {
  position: fixed; inset: 0;
  width: 100%; background: #FAFAFA; z-index: 101;
  opacity: 0; pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  overflow-y: auto;
}
.case-study-panel.open { opacity: 1; pointer-events: all; transform: translateY(0); }

/* Metric */
.metric-value { font-variant-numeric: tabular-nums; }

/* Nav blur */
nav { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Tag pill */
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.03em;
  background: #E8ECF0; color: #64748B; transition: all 0.2s;
}
.tag:hover { background: #2563EB; color: white; }

/* Skills scroll */
.skills-scroll {
  display: flex; gap: 1rem; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 0.5rem;
}
.skills-scroll::-webkit-scrollbar { display: none; }

/* Noise */
.noise::after {
  content: ''; position: fixed; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: -1;
}

/* Line accent */
.line-accent { width: 48px; height: 3px; background: #2563EB; border-radius: 2px; }

/* Link underline */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: #2563EB; transition: width 0.3s ease;
}
.link-underline:hover::after { width: 100%; }
