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

html {
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-green: #42904f;
    --primary-dark: #2d6338;
    --dark-text: #0a0a0a;
    --light-bg: #fefefe;
    --surface: #f5f7f5;
    --text-light: #374151;
    --shadow-soft: 0 4px 24px rgba(66, 144, 79, 0.06);
    --shadow-card: 0 20px 50px -12px rgba(0, 0, 0, 0.06);
}

.font-display {
    font-family: 'DM Serif Display', 'Inter', Georgia, serif;
    letter-spacing: -0.02em;
}

.font-body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.modern-gradient {
    background: linear-gradient(160deg, #fefefe 0%, #f8faf8 45%, #f5f7f5 100%);
}

.blur-gradient {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(66, 144, 79, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 85% 60%, rgba(66, 144, 79, 0.06) 0%, transparent 50%);
    filter: blur(90px);
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(66, 144, 79, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 144, 79, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
}

.glass-effect {
    background: rgba(254, 254, 254, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(66, 144, 79, 0.12);
}

.card-hover {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(66, 144, 79, 0.06);
}

.btn-primary {
    background: linear-gradient(135deg, #42904f 0%, var(--primary-dark) 100%);
    transition: transform 0.25s ease, box-shadow 0.3s ease, color 0.2s ease;
    box-shadow: 0 8px 24px rgba(66, 144, 79, 0.25);
    color: white;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(66, 144, 79, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    border: 1.5px solid rgba(66, 144, 79, 0.5);
    color: #42904f;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.btn-secondary:hover {
    background: rgba(66, 144, 79, 0.08);
    border-color: #42904f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.step-card {
    background: linear-gradient(145deg, rgba(254, 254, 254, 0.9) 0%, rgba(248, 250, 248, 0.7) 100%);
    border: 1px solid rgba(66, 144, 79, 0.12);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

.step-number {
    background: linear-gradient(135deg, #42904f 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-feature-settings: "tnum";
}

.feature-icon {
    background: linear-gradient(145deg, rgba(66, 144, 79, 0.12) 0%, rgba(66, 144, 79, 0.04) 100%);
    border: 1px solid rgba(66, 144, 79, 0.18);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover .feature-icon {
    transform: scale(1.02);
    box-shadow: var(--shadow-soft);
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 0;
}

.team-card {
    background: linear-gradient(145deg, rgba(254, 254, 254, 0.95) 0%, rgba(248, 250, 248, 0.8) 100%);
    border: 1px solid rgba(66, 144, 79, 0.12);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(66, 144, 79, 0.22);
}

.team-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(66, 144, 79, 0.1) 0%, rgba(66, 144, 79, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(66, 144, 79, 0.3);
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 144, 79, 0.15) 0%, rgba(66, 144, 79, 0.08) 100%);
    color: rgba(66, 144, 79, 0.4);
    font-size: 80px;
}

.team-info {
    padding: 2rem 1.75rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.team-title {
    font-size: 0.875rem;
    color: #42904f;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.team-socials {
    display: flex;
    gap: 0.75rem;
}

.team-social-link {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(66, 144, 79, 0.1);
    color: #42904f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social-link:hover {
    background: #42904f;
    color: white;
    transform: scale(1.1);
}

@media (max-width: 1536px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    nav .flex.items-center.gap-3 {
        gap: 0.5rem;
    }

    nav .w-10.h-10 {
        width: 32px;
        height: 32px;
    }

    nav svg {
        width: 18px;
        height: 18px;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    h2 {
        font-size: clamp(1.75rem, 6vw, 3rem);
    }

    section {
        padding: 3rem 1.5rem;
    }

    .max-w-7xl {
        padding: 0 1.5rem;
    }

    .blur-gradient {
        width: 250px;
        height: 250px;
    }

    .grid-pattern {
        background-size: 50px 50px;
    }

    .step-card {
        padding: 1.75rem;
    }

    .team-image {
        height: 240px;
        font-size: 70px;
    }

    .team-info {
        padding: 1.75rem 1.5rem;
    }

    .team-name {
        font-size: 20px;
    }

    .team-title {
        font-size: 12px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .quote-mark {
        font-size: 100px;
    }

    blockquote {
        padding: 2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 0.75rem 1rem;
    }

    nav .text-xl {
        font-size: 1rem;
    }

    nav .text-xs {
        font-size: 0.65rem;
    }

    h1 {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
    }

    h3 {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }

    section {
        padding: 2rem 1rem;
    }

    .max-w-7xl,
    .max-w-4xl,
    .max-w-3xl {
        padding: 0 1rem;
    }

    .max-w-2xl {
        padding: 0 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 14px;
    }

    .flex.flex-col.sm\\:flex-row.gap-4 {
        flex-direction: column;
        gap: 0.75rem;
    }

    .flex.items-center.gap-8 {
        flex-direction: column;
        gap: 1rem;
        font-size: 12px;
    }

    .grid.md\\:grid-cols-2.gap-8 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grid.md\\:grid-cols-3.gap-8 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-card {
        padding: 1.25rem;
    }

    .step-number {
        font-size: 24px;
    }

    .flex.gap-4 {
        gap: 1rem;
    }

    .flex.items-start.gap-4 {
        gap: 0.75rem;
    }

    .w-6.h-6 {
        width: 18px;
        height: 18px;
    }

    .w-14.h-14 {
        width: 48px;
        height: 48px;
    }

    .team-image {
        height: 180px;
        font-size: 50px;
    }

    .team-info {
        padding: 1.5rem 1rem;
    }

    .team-name {
        font-size: 18px;
    }

    .team-title {
        font-size: 11px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .quote-mark {
        font-size: 80px;
        top: -8px;
        left: -8px;
    }

    blockquote {
        padding: 1.5rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .grid.grid-cols-2.gap-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .md\\:flex-row {
        flex-direction: column;
        gap: 1rem;
    }

    .grid.grid-cols-4.gap-4 {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .grid.grid-cols-4.gap-4 a {
        flex: 1;
        min-width: 40px;
    }

    p.text-lg {
        font-size: 16px;
    }

    p.text-sm {
        font-size: 13px;
    }

    p.text-xs {
        font-size: 11px;
    }

    .space-y-4>*+* {
        margin-top: 0.75rem;
    }

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

    .mb-8 {
        margin-bottom: 1.5rem;
    }

    .mb-6 {
        margin-bottom: 1rem;
    }

    .mt-8 {
        margin-top: 1.5rem;
    }

    .mt-10 {
        margin-top: 1.5rem;
    }

    .mt-12 {
        margin-top: 2rem;
    }

    .gap-8 {
        gap: 1rem;
    }

    .gap-6 {
        gap: 1rem;
    }

    .gap-16 {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.75rem 0.75rem;
    }

    nav .w-10.h-10 {
        width: 28px;
        height: 28px;
    }

    nav .text-xl {
        font-size: 0.875rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    h1 {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }

    h2 {
        font-size: clamp(1.25rem, 4vw, 1.875rem);
    }

    h3 {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }

    section {
        padding: 1.5rem 0.75rem;
    }

    .max-w-7xl,
    .max-w-4xl,
    .max-w-3xl,
    .max-w-2xl {
        padding: 0 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 13px;
        width: 100%;
    }

    .flex.flex-col.sm\\:flex-row.gap-4 {
        gap: 0.5rem;
    }

    .grid-pattern {
        background-size: 40px 40px;
    }

    .blur-gradient {
        width: 180px;
        height: 180px;
    }

    .step-number {
        font-size: 20px;
    }

    .quote-mark {
        font-size: 60px;
    }

    .team-image {
        height: 160px;
        font-size: 40px;
    }

    .team-info {
        padding: 1.25rem 0.875rem;
    }

    .team-name {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .team-title {
        font-size: 10px;
    }

    .w-16.h-16 {
        width: 40px;
        height: 40px;
    }

    .w-14.h-14 {
        width: 40px;
        height: 40px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    blockquote {
        padding: 1.25rem;
    }

    .flex.items-center.gap-3 {
        gap: 0.5rem;
    }

    footer {
        padding: 1rem 0.75rem;
        font-size: 12px;
    }

    .gap-8 {
        gap: 0.75rem;
    }

    .gap-6 {
        gap: 0.75rem;
    }

    .gap-4 {
        gap: 0.5rem;
    }

    .p-6 {
        padding: 1rem;
    }

    .p-8 {
        padding: 1.25rem;
    }

    .p-12 {
        padding: 1.5rem;
    }

    .rounded-3xl {
        border-radius: 1.5rem;
    }

    .rounded-2xl {
        border-radius: 1rem;
    }

    .rounded-xl {
        border-radius: 0.75rem;
    }

    .rounded-lg {
        border-radius: 0.5rem;
    }

    span.text-sm.font-medium {
        font-size: 11px;
    }

    p.text-lg {
        font-size: 15px;
    }

    p.text-base {
        font-size: 14px;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide {
    animation: slideIn 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.quote-mark {
    font-size: 120px;
    line-height: 1;
    color: rgba(66, 144, 79, 0.08);
    font-family: 'DM Serif Display', Georgia, serif;
}

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

.hero-badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-badge:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

h1.font-display {
    text-rendering: optimizeLegibility;
}

section {
    position: relative;
}

@view-transition {
    navigation: auto;
}
