/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-color: #eb5758;
    --brand-rgb: 235, 87, 88;
    --brand-dark: #c93434;
    --accent-color: #ff8b6a;
    --text-dark: #1a1a1a;
    --text-light: #64748b;
    --white: #ffffff;
    --gray-light: #fafaf9;
    --gray-border: #e2e8f0;
    --gray-medium: #94a3b8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}
a, a{
    color: var(--brand-color);
    text-decoration: underline;
}


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    animation: slideDown 0.5s ease-out;
    border-bottom: 2px solid rgba(235, 87, 88, 0.1);
    /* Enable scroll-state queries */
    container-type: scroll-state;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--brand-color);
}

.nav-link-cta {
    background: var(--brand-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--brand-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--brand-rgb), 0.3);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #fafaf9 0%, #fff5f5 100%);
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    top: -40%;
    right: -5%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--brand-rgb), 0.08) 0%, transparent 70%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    /* Perfect vertical text centering with text-box */
    text-box: trim-both cap alphabetic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    /* Modern organic corner shapes */
    corner-shape: squircle;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    /* Perfect vertical text centering */
    text-box: trim-both cap alphabetic;
}

.btn-primary {
    background: var(--brand-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(var(--brand-rgb), 0.25);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--brand-rgb), 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--brand-color);
    border: 2px solid var(--brand-color);
}

.btn-secondary:hover {
    background: var(--brand-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(var(--brand-rgb), 0.25);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* Value Bar */
.value-bar {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    padding: 2rem 0;
}

.value-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 480px) {
    .value-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .value-items {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-item {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.value-item:hover {
    color: var(--brand-color);
}

.value-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: var(--gray-border);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    /* Perfect vertical text centering */
    text-box: trim-both cap alphabetic;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    /* Modern corner shapes */
    corner-shape: squircle;
    border: 2px solid var(--gray-border);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    /* Staggered entry animation using sibling-index() */
    animation: fadeInUp 0.6s ease;
    animation-delay: calc(0.15s * (sibling-index() - 1));
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(var(--brand-rgb), 0.15);
    border-color: var(--brand-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.6rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    /* Staggered fade-in with sibling-index() */
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
    animation-delay: calc(0.5s + (0.08s * (sibling-index() - 1)));
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* About/Story Section */
.story-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.story-intro {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-color);
    margin-bottom: 2rem;
    line-height: 1.4;
    text-align: center;
}

.story-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-beliefs {
    list-style: none;
    padding: 2.5rem;
    margin: 2.5rem 0;
    background: var(--white);
    border-radius: 16px;
    border-left: 4px solid var(--brand-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.story-beliefs li {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.story-beliefs li:last-child {
    margin-bottom: 0;
}

.story-beliefs li strong {
    color: var(--brand-color);
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.4rem;
}

.story-conclusion {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* Bio Section */
.bio-section {
    padding: 6rem 0;
    background: var(--gray-light);
}

.bio-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .bio-content {
        grid-template-columns: 280px 1fr;
    }
}

.bio-image-wrapper {
    position: sticky;
    top: 120px;
}

.bio-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    /* Modern squircle shape for organic feel */
    corner-shape: squircle;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 4px solid var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-position: top;
}

.bio-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(var(--brand-rgb), 0.2);
}

.bio-text {
    padding-top: 1rem;
}

.bio-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.bio-text p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--brand-color);
}

/* Experience Section - Keep old styles for reference but hide */
.experience {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    display: none;
}

.experience-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
}

.logo-placeholder {
    width: 220px;
    height: 130px;
    background: var(--gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-border);
    position: relative;
    overflow: hidden;
}

.logo-placeholder.clickable {
    cursor: pointer;
}

.logo-placeholder.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--brand-rgb), 0.15);
    border-color: var(--brand-color);
}

.click-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--brand-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.logo-placeholder.clickable:hover .click-indicator {
    opacity: 1;
    transform: scale(1);
}

.logo-placeholder span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Client Modal */
.client-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.client-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.client-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-light);
    color: var(--text-dark);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal-close:hover {
    background: var(--brand-color);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-body {
    padding: 3rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-right: 40px;
}

.modal-type {
    color: var(--brand-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.modal-section p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

.modal-quote {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--brand-color);
    margin-top: 2rem;
}

.modal-quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    color: var(--white);
    position: relative;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact .section-title {
    color: var(--white);
}

.contact-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

/* Note: fadeIn keyframe defined elsewhere for service-features */

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.pulse-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pulse-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .value-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .value-item:nth-child(2)::after {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .bio-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .bio-image-wrapper {
        position: static;
        text-align: center;
    }
    
    .bio-image {
        width: 220px;
        height: 220px;
    }
    
    .logos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .logo-placeholder {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary, .btn-secondary {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav-container {
        padding: 1rem 1.25rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-items {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .value-item::after {
        display: none;
    }
    
    .value-item {
        padding: 0.75rem;
    }
}

/* Blog Styles */
.blog-section {
    padding: 6rem 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (min-width: 700px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    /* Modern squircle corners */
    corner-shape: squircle;
    border: 2px solid var(--gray-border);
    overflow: clip;
    transition: all 0.3s ease;
    /* Staggered entry animation using sibling-index() */
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(0.1s * (sibling-index() - 1));
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(var(--brand-rgb), 0.15);
    border-color: var(--brand-color);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    height: 200px;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, var(--brand-color) 0%, #ff8b6a 100%);
}

.blog-card-category {
    background: var(--white);
    color: var(--brand-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-card-meta span:not(:last-child)::after {
    content: '•';
    margin-left: 1rem;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--brand-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-card-author {
    font-size: 0.9rem;
    color: var(--brand-color);
    font-weight: 600;
}

/* Individual Blog Post */
.blog-post-page {
    padding: 8rem 0 4rem;
    background: var(--white);
}

.blog-post-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.blog-back-link {
    display: inline-block;
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.blog-back-link:hover {
    transform: translateX(-5px);
}

.blog-post-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-color), #ff6b6b);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.blog-post-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.blog-post-meta span:not(:last-child)::after {
    content: '•';
    margin-left: 1.5rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-post-content .blog-intro {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.blog-post-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul, 
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-post-content a {
    color: var(--brand-color);
    text-decoration: 500;
    border-bottom: 1px solid var(--brand-color);
    transition: opacity 0.3s ease;
}

.blog-post-content a:hover {
    opacity: 0.7;
    border-bottom-color: var(--brand-color);
}

.blog-post-content strong {
    font-weight: 700;
    color: var(--text-dark);
}

.blog-post-footer {
    max-width: 800px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 2px solid var(--gray-border);
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-content {
        font-size: 1.05rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-post-meta span::after {
        display: none;
    }
    
    .blog-post-footer {
        flex-direction: column;
    }
}
    
    .bio-image {
        width: 180px;
        height: 180px;
    }
    
    .bio-text p {
        font-size: 1rem;
    }

/* Landing Page Styles */
.hero-landing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fafaf9 0%, #ffffff 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.landing-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Tickit Logo with Animation */
.logo-container {
    margin-bottom: 3rem;
    animation: fadeInScale 1.2s ease-out;
}

.tickit-logo-image {
    width: clamp(170px, 36vw, 420px);
    height: auto;
    max-width: 100%;
    display: inline-block;
}

/* Tagline Styling */
.landing-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.5;
    animation: fadeInUp 1.2s ease-out 0.3s backwards;
    opacity: 0.9;
}

/* Landing Buttons */
.landing-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out 0.6s backwards;
}

.landing-btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.landing-btn-venues {
    background: var(--brand-color);
    color: var(--white);
    border: 2px solid var(--brand-color);
}

.landing-btn-venues:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(235, 87, 88, 0.3);
}

.landing-btn-customers {
    background: transparent;
    color: var(--brand-color);
    border: 2px solid var(--brand-color);
}

.landing-btn-customers:hover {
    background: var(--brand-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(235, 87, 88, 0.3);
}

/* Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .landing-btn {
        width: stretch; /* Modern stretch keyword */
        max-width: 320px;
    }
    
    .logo-container {
        margin-bottom: 2rem;
    }
    
    .landing-tagline {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
}

/* ============================================
   CHROME 2025 CSS WRAPPED - MODERN ENHANCEMENTS
   ============================================ */

/* CSS Custom Functions for reusable logic */
@function --conditional-radius(--radius, --edge-dist: 4px) {
    result: clamp(0px, ((100vw - var(--edge-dist)) - 100%) * 1e5, var(--radius));
}

@function --ease-out-expo(--progress) {
    result: calc(1 - pow(2, -10 * var(--progress)));
}

/* Scroll State Enhancements */
.hero {
    container-type: scroll-state;
}

/* Style children based on scroll state */
@container scroll-state(scrollable: block) {
    .hero::after {
        content: '';
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 30px;
        border-left: 3px solid var(--brand-color);
        border-bottom: 3px solid var(--brand-color);
        rotate: -45deg;
        animation: bounce 2s infinite;
        opacity: 0.6;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Enhanced hover interactions with interest-delay simulation */
.service-card,
.blog-card,
.nav-link {
    /* Simulate interest-delay behavior with transition-delay */
    transition-delay: 0s;
}

.service-card:hover,
.blog-card:hover {
    transition-delay: 0.1s;
}

/* Advanced attr() for dynamic styling */
[data-theme] {
    /* Could use: background: attr(data-theme type(<color>), var(--white)); */
    /* Fallback to CSS variables for now */
}

/* Text box improvements for all headings */
h1, h2, h3, h4, h5, h6,
.service-title,
.blog-card-title,
.modal-title {
    text-box: trim-both cap alphabetic;
}

/* Shape function for custom paths (fallback to border-radius) */
.hero-decoration {
    /* Could use shape() for more complex organic shapes */
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
}

/* Modern button styling with all new features */
.btn-primary,
.btn-secondary,
.landing-btn,
.nav-link-cta {
    /* Squircle corners for modern look */
    corner-shape: squircle;
    border-radius: 12px;
    
    /* Perfect text centering */
    text-box: trim-both cap alphabetic;
    
    /* Conditional radius at viewport edges */
    border-radius: --conditional-radius(12px, 8px);
}

/* Enhanced service features with better stagger control */
.service-features {
    /* Could use scroll-marker-group for TOC-like navigation */
    list-style: none;
}

/* Value items with sibling-count awareness */
.value-item {
    /* Use sibling-count() for dynamic spacing */
    --total-items: sibling-count();
    /* Could adjust styling based on total count */
    opacity: calc(0.7 + (0.3 / var(--total-items)) * sibling-index());
}

/* Stats bar with automatic staggering */
.stat-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(0.1s * (sibling-index() - 1));
}

/* Enhanced nav with scroll-aware styling */
@supports (container-type: scroll-state) {
    body {
        container-type: scroll-state;
    }
    
    /* Make nav more prominent when page is scrollable */
    @container scroll-state(scrollable: block) {
        .nav {
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.95);
        }
    }
}

/* Modern card shadows with organic feel */
.service-card,
.blog-card,
.bio-image {
    /* Softer, more natural shadow */
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.05),
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 12px 24px rgba(0, 0, 0, 0.03);
}

/* View Transitions support (for future SPA navigation) */
@supports (view-transition-name: auto) {
    .service-card,
    .blog-card {
        view-transition-name: attr(id type(<custom-ident>), none);
        view-transition-class: card;
    }
    
    .hero-title {
        view-transition-name: page-title;
    }
}

/* Responsive container queries for components */
.service-card {
    container-type: inline-size;
    container-name: service-card;
}

@container service-card (width < 400px) {
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-features {
        font-size: 0.9rem;
    }
}

/* Modern focus styles with better accessibility */
*:focus-visible {
    outline: 3px solid var(--brand-color);
    outline-offset: 3px;
    border-radius: --conditional-radius(4px);
}

/* Enhanced link underlines with modern syntax */
a {
    text-decoration-thickness: from-font;
    text-underline-offset: 0.2em;
}

/* Smooth page transitions preparation */
::view-transition-old(page-title),
::view-transition-new(page-title) {
    animation-duration: 0.4s;
}

::view-transition-old(card) {
    animation: slideOut 0.3s ease-out;
}

::view-transition-new(card) {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideOut {
    to { transform: translateY(-20px); opacity: 0; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
}

/* Modern color mixing for hover states (fallback to current) */
.nav-link:hover {
    /* Could use: color: color-mix(in srgb, var(--brand-color) 80%, black); */
    color: var(--brand-color);
}

/* Gradient enhancements with modern color spaces */
.hero {
    /* Future: Use oklch for more perceptually uniform gradients */
    background: linear-gradient(135deg, #fafaf9 0%, #fff5f5 100%);
}

.contact {
    /* Could enhance with: linear-gradient(in oklch, ...) */
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
}

/* Print styles remain compatible */
@media print {
    .nav, .footer, .hero-decoration {
        display: none;
    }
    
    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}