/* ============================================================
   NursingPro — Foundation styles
   Refactored to match the Healy landing visual system
   ============================================================ */

:root {
    --github-dark: #000000;
    --github-gray: #0a0a0a;
    --github-border: rgba(255, 255, 255, 0.08);
    --github-text: #94a3b8;

    --violet-primary: #7c3aed;
    --violet-light: #a78bfa;
    --violet-dark: #6d28d9;
    --blue-secondary: #3b82f6;
    --blue-light: #60a5fa;
    --cyan-accent: #67e8f9;

    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --text-muted-light: #64748b;
    --amber-500: #f59e0b;
    --amber-900: #78350f;
    --green-500: #22c55e;
    --green-900: #14532d;

    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, Inconsolata, monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-inter);
    background: var(--github-dark);
    color: var(--github-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

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

.font-inter { font-family: var(--font-inter); }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.inline-block { display: inline-block; }
.w-full { width: 100%; }
.w-3\.5 { width: 14px; }
.w-4 { width: 16px; }
.w-5 { width: 20px; }
.w-6 { width: 24px; }
.h-3\.5 { height: 14px; }
.h-4 { height: 16px; }
.h-5 { height: 20px; }
.h-6 { height: 24px; }
.h-16 { height: 64px; }
.top-0 { top: 0; }
.bottom-8 { bottom: 32px; }
.left-1\/2 { left: 50%; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.transform { transform: translateZ(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.min-h-screen { min-height: 100vh; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-16 { margin-bottom: 64px; }
.mt-0\.5 { margin-top: 2px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mr-2 { margin-right: 8px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mr-1 { margin-right: 4px; }
.ml-2 { margin-left: 8px; }
.ml-1\.5 { margin-left: 6px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }
.pt-4 { padding-top: 16px; }
.pt-6 { padding-top: 24px; }
.pt-8 { padding-top: 32px; }
.pt-2 { padding-top: 8px; }
.pb-2 { padding-bottom: 8px; }
.pb-3 { padding-bottom: 12px; }
.space-y-1 > * + * { margin-top: 4px; }
.space-y-2 > * + * { margin-top: 8px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-5 > * + * { margin-top: 20px; }
.space-y-6 > * + * { margin-top: 24px; }
.space-y-8 > * + * { margin-top: 32px; }
.space-x-4 > * + * { margin-left: 16px; }
.space-x-8 > * + * { margin-left: 32px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.gap-16 { gap: 64px; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.max-w-5xl { max-width: 1024px; }
.max-w-7xl { max-width: 1280px; }

.text-sm { font-size: 14px; line-height: 20px; }
.text-lg { font-size: 18px; line-height: 28px; }
.text-xl { font-size: 20px; line-height: 32px; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.leading-tight { line-height: 1.1; }
.leading-relaxed { line-height: 1.75; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }

.fluid-text-h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    line-height: 1.05;
}

.fluid-text-h2 {
    font-size: clamp(1.875rem, 3.25vw + 0.75rem, 2.75rem);
    line-height: 1.15;
}

.bg-github-dark { background-color: var(--github-dark); }
.bg-github-gray { background-color: var(--github-gray); }
.bg-github-dark\/95 { background-color: rgba(0, 0, 0, 0.84); }
.bg-muted-30 { background: rgba(10, 10, 20, 0.6); }
.text-github-text { color: var(--github-text); }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.text-muted-light { color: var(--text-muted-light); }
.text-violet-primary { color: var(--violet-primary); }
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-violet-primary { --tw-gradient-from: var(--violet-primary); }
.to-blue-secondary { --tw-gradient-to: var(--blue-secondary); }
.transition-transform { transition: transform 0.2s ease; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(4px); }

.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }
.border-github-border { border-color: var(--github-border); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.ambient-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 38%, rgba(0, 80, 255, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 30% 60%, rgba(80, 0, 220, 0.08) 0%, transparent 70%);
}

.hero-section {
    min-height: auto;
    padding-top: 126px;
    padding-bottom: 18px;
}

.hero-content-stack > * + * {
    margin-top: 20px;
}

.hero-content-stack .pt-4 {
    padding-top: 6px;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem);
    line-height: 1.08;
}

.hero-lead {
    line-height: 1.6;
}

.glow-wrap {
    position: absolute;
    inset: 0;
    left: 50%;
    width: 100%;
    max-width: 1200px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.glow-blob-violet,
.glow-blob-blue {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    filter: blur(140px);
}

.glow-blob-violet {
    height: 420px;
    background: rgba(109, 40, 217, 0.18);
}

.glow-blob-blue {
    height: 760px;
    background: rgba(29, 78, 216, 0.1);
}

.section-glow-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72%;
    height: 78%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 80, 255, 0.1) 0%, rgba(60, 0, 200, 0.04) 42%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.floating-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-full);
    background: rgba(124, 58, 237, 0.15);
    color: var(--violet-light);
    font-size: 14px;
    font-weight: 500;
}

nav {
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.bg-github-dark\/95 {
    background-color: rgba(0, 0, 10, 0.84);
}

.nav-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link-active {
    color: var(--text-white);
}

.mobile-nav-link {
    display: block;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: color 0.2s ease, background 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--github-text);
    background: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.mobile-menu-button:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-container-small {
    width: 28px;
    height: 28px;
}

.logo-svg,
.logo-svg-small {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    gap: 0;
    white-space: nowrap;
}

.btn-primary-pill,
.btn-primary-pill-large,
.btn-secondary-pill-large {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary-pill,
.btn-primary-pill-large {
    color: var(--text-white);
    background: var(--violet-primary);
    border-radius: var(--radius-full);
}

.btn-primary-pill {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-primary-pill-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary-pill:hover,
.btn-primary-pill-large:hover {
    background: var(--violet-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35);
}

.btn-secondary-pill-large {
    padding: 14px 32px;
    font-size: 16px;
    color: var(--github-text);
    background: transparent;
    border: 1px solid var(--github-border);
    border-radius: var(--radius-full);
}

.btn-secondary-pill-large:hover {
    color: var(--text-white);
    border-color: rgba(124, 58, 237, 0.45);
    background: rgba(124, 58, 237, 0.1);
}

.btn-cta-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: var(--violet-primary);
    color: var(--text-white);
    font-weight: 500;
    font-size: 13px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cta-sm:hover {
    background: var(--violet-dark);
}

.btn-cta-sm-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: transparent;
    color: var(--github-text);
    font-weight: 500;
    font-size: 13px;
    border: 1px solid var(--github-border);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cta-sm-secondary:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: transparent;
    color: var(--github-text);
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--github-border);
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    color: var(--text-white);
    border-color: rgba(124, 58, 237, 0.45);
    background: rgba(124, 58, 237, 0.08);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    background: rgba(124, 58, 237, 0.15);
    color: var(--violet-light);
}

.service-icon-featured {
    background: rgba(124, 58, 237, 0.22);
    color: var(--text-white);
}

.service-card {
    background: rgba(10, 10, 10, 0.85);
    outline: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, outline-color 0.3s ease, opacity 0.6s ease;
}

.service-card:hover {
    outline-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(124, 58, 237, 0.08);
    transform: translateY(-2px);
}

.service-card-featured {
    background:
        linear-gradient(180deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.05)),
        rgba(10, 10, 10, 0.9);
    outline-color: rgba(124, 58, 237, 0.2);
}

.service-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-full);
    background: rgba(124, 58, 237, 0.14);
    color: var(--violet-light);
    font-size: 12px;
    font-weight: 600;
}

.card-rounded {
    background: rgba(10, 10, 10, 0.85);
    outline: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, outline-color 0.3s ease, opacity 0.6s ease;
}

.card-rounded:hover {
    outline-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    padding-left: 16px;
    border-left: 2px solid var(--amber-500);
    padding-top: 4px;
    padding-bottom: 4px;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    padding-left: 16px;
    border-left: 2px solid var(--green-500);
    padding-top: 4px;
    padding-bottom: 4px;
}

.icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.icon-badge-amber {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber-500);
}

.icon-badge-green {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green-500);
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(245, 158, 11, 0.10);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--amber-500);
}

.text-amber-accent {
    color: var(--amber-500);
}

.text-green-accent {
    color: var(--green-500);
}

.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.footer-link {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text-white);
}

.anchor-offset {
    scroll-margin-top: 88px;
}

.credential-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--github-gray);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    transition: all 0.3s ease;
}

.credential-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.credential-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 36px;
    padding: 0 10px;
    background: rgba(124, 58, 237, 0.2);
    color: var(--violet-light);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: 0.03em;
    white-space: nowrap;
    flex-shrink: 0;
}

.credential-badge-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(124, 58, 237, 0.2);
    color: var(--violet-light);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.expertise-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--violet-primary);
    flex-shrink: 0;
}

.about-hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
}

.about-grid > * {
    min-width: 0;
}

.about-photo-frame {
    max-width: 260px;
}

.about-photo-inner {
    border: 1px solid var(--github-border);
    border-radius: var(--radius-xl);
    background: var(--github-gray);
    padding: 12px;
}

.about-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(124, 58, 237, 0.18), rgba(59, 130, 246, 0.1)),
        rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.about-photo-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-name {
    font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.about-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.about-callout {
    margin-top: 32px;
    padding-left: 20px;
    border-left: 3px solid var(--violet-primary);
    color: var(--github-text);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
}

.about-info-card {
    background: var(--github-gray);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.about-info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.about-link-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--github-border);
    border-radius: var(--radius-full);
    color: var(--github-text);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.about-link-pill:hover {
    border-color: var(--violet-primary);
    color: var(--text-white);
    background: rgba(124, 58, 237, 0.1);
}

.about-value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--github-text);
    font-size: 14px;
    line-height: 1.6;
}

.about-why-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-xl);
    padding: 20px;
}

.about-cta-panel {
    background: var(--github-gray);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.about-next-steps-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.about-step-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--github-text);
    font-size: 14px;
}

.engagement-card {
    background: rgba(10, 10, 10, 0.82);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    min-height: 220px;
}

.engagement-card-featured {
    border-color: rgba(124, 58, 237, 0.26);
    background:
        linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(59, 130, 246, 0.03)),
        rgba(10, 10, 10, 0.86);
}

.engagement-card-rescue {
    border-color: rgba(251, 191, 36, 0.22);
}

.engagement-tier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(124, 58, 237, 0.15);
    color: var(--violet-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.engagement-tier-rescue {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
}

.contact-panel {
    background: var(--github-gray);
    border: 1px solid var(--github-border);
    border-radius: 32px;
    padding: 48px;
}

.contact-lead {
    max-width: 760px;
}

.contact-expect-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.contact-preview-item {
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid var(--github-border);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    color: var(--github-text);
    font-size: 15px;
    line-height: 1.6;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:px-6 { padding-left: 24px; padding-right: 24px; }
}

@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 32px; padding-right: 32px; }
    .about-grid { grid-template-columns: 1.3fr 1fr; }
    .contact-grid { grid-template-columns: 1.35fr 0.95fr; }
    .engagements-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 16px;
        min-height: auto;
    }

    .hero-content-stack > * + * {
        margin-top: 16px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .about-cta-panel {
        padding: 24px;
    }

    .contact-panel {
        padding: 24px;
        border-radius: var(--radius-xl);
    }

    .contact-button-row {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ambient-glow,
    .floating-particles {
        display: none;
    }
}
