/* Text Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.fade-in-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.fade-in-up-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.fade-in-up-delay-4 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.fade-in-up-slow {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s ease forwards;
}

/* Enhanced Writer Info Animation */
.writer-info {
    padding: 8px 0;
}

.writer-info .writer-name {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.8s ease forwards;
}

.writer-info .writer-role {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.writer-info .writer-bio {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.writer-info .writer-specialties {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.writer-info .specialties-title {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s ease 0.5s forwards;
}

.writer-info .specialty-tags .tag {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s ease forwards;
}

.writer-info .specialty-tags .tag:nth-child(1) { animation-delay: 0.6s; }
.writer-info .specialty-tags .tag:nth-child(2) { animation-delay: 0.65s; }
.writer-info .specialty-tags .tag:nth-child(3) { animation-delay: 0.7s; }
.writer-info .specialty-tags .tag:nth-child(4) { animation-delay: 0.75s; }
.writer-info .specialty-tags .tag:nth-child(5) { animation-delay: 0.8s; }

/* Enhanced About Section Animation */
.about-item .about-subtitle {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-item .about-description {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

/* Staggered Animation for Multiple Elements */
.stagger-animation > *:nth-child(1) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.1s forwards;
}

.stagger-animation > *:nth-child(2) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.stagger-animation > *:nth-child(3) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.stagger-animation > *:nth-child(4) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.stagger-animation > *:nth-child(5) {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

/* Paragraph Animation */
.animated-paragraph {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.9s ease forwards;
}

.animated-paragraph.delay-short {
    animation-delay: 0.3s;
}

.animated-paragraph.delay-medium {
    animation-delay: 0.6s;
}

.animated-paragraph.delay-long {
    animation-delay: 0.9s;
}/* CSS Variables */
:root {
    --primary-dark: #1a1a1a;
    --secondary-light: #fafafa;
    --accent-gold: #a0825c;
    --accent-light: #d5c3a7;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #888;
    --white: #ffffff;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-elevated: 0 8px 30px rgba(0, 0, 0, 0.12);
    --gradient-gold: linear-gradient(135deg, #a0825c 0%, #d5c3a7 100%);
    --font-serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
    --font-sans: 'Montserrat', 'Noto Serif JP', sans-serif;
    --header-height: 60px;
    --radius: 3px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-serif);
    color: var(--text-primary);
    background: var(--secondary-light);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}


/* Main Layout */
.main {
    padding-top: var(--header-height);
    min-height: 100vh;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(160, 130, 92, 0.04) 0%, rgba(213, 195, 167, 0.02) 100%);
    padding: 100px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(160, 130, 92, 0.03) 0%, transparent 70%);
    transform: translateX(-50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;
    font-family: var(--font-serif);
    color: var(--primary-dark);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-subtitle {
    font-size: 16px;
    font-family: var(--font-sans);
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

/* Writers Section */
.writers {
    padding: 120px 40px;
    background: var(--white);
}

.writers-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.writers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    margin-bottom: 120px;
}

.writer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards;
}

.writer:nth-child(1) { animation-delay: 0.6s; }
.writer:nth-child(2) { animation-delay: 0.8s; }

.writer-photo {
    aspect-ratio: 2/3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius);
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    min-height: 500px;
    width: 100%;
}

.writer-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.writer-photo:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
}

.writer-photo:hover::before {
    opacity: 1;
}

.writer-info {
    padding: 8px 0;
}

.writer-name {
    font-size: 36px;
    font-weight: 400;
    font-family: var(--font-serif);
    color: var(--primary-dark);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 16px;
}

.writer-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-gold);
}

.writer-role {
    font-size: 16px;
    font-family: var(--font-sans);
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 28px;
}

.writer-bio {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: 0.01em;
}

.writer-specialties {
    margin-bottom: 0;
}

.specialties-title {
    font-size: 12px;
    font-family: var(--font-sans);
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--secondary-light);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 12px;
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.05em;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.tag:hover {
    background: var(--gradient-gold);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160, 130, 92, 0.2);
}

/* About Section */
.about {
    padding: 100px 40px;
    background: var(--secondary-light);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.about-title {
    font-size: 36px;
    font-weight: 400;
    font-family: var(--font-serif);
    color: var(--primary-dark);
    margin-bottom: 80px;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 20px;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
    transform: translateX(-50%);
}

.about-content {
    display: grid;
    gap: 60px;
}

.about-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.about-item:nth-child(1) { animation-delay: 1.0s; }
.about-item:nth-child(2) { animation-delay: 1.2s; }
.about-item:nth-child(3) { animation-delay: 1.4s; }

.about-subtitle {
    font-size: 24px;
    font-weight: 400;
    font-family: var(--font-serif);
    color: var(--primary-dark);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    font-style: italic;
    position: relative;
    padding-bottom: 16px;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 40px;
    height: 1px;
    background: var(--gradient-gold);
    transform: translateX(-50%);
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth fade in from bottom with slight bounce */
@keyframes fadeInUpBounce {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gentle wave animation for text */
@keyframes fadeInUpWave {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Elegant slide up animation */
@keyframes slideUpElegant {
    0% {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Single Content Full Width */
.single-content-full {
    width: 100vw;
    margin: 0;
    padding: 0;
    max-width: none;
}

.single-content-full .writers-container,
.single-content-full .about-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (min-width: 1400px) {
    .writers {
        padding: 120px 60px;
    }
    
    .about {
        padding: 100px 60px;
    }
    
    .writer-photo {
        min-height: 600px;
    }
    
    .writer-name {
        font-size: 42px;
    }
    
    .writer-bio {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .writers-grid {
        gap: 80px;
    }

    .writer {
        gap: 40px;
    }
    
    .writer-photo {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .logo {
        font-size: 24px;
    }

    .hero {
        padding: 80px 20px 60px;
    }

    .writers {
        padding: 80px 20px;
    }

    .writers-grid {
        grid-template-columns: 1fr;
        gap: 80px;
        margin-bottom: 80px;
    }

    .writer {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .writer-photo {
        max-width: 280px;
        margin: 0 auto;
    }

    .writer-name {
        font-size: 28px;
    }

    .about {
        padding: 80px 20px;
    }

    .about-title {
        font-size: 28px;
        margin-bottom: 60px;
    }

    .about-content {
        gap: 50px;
    }

    .about-subtitle {
        font-size: 20px;
    }

    .about-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px 40px;
    }

    .writers {
        padding: 60px 15px;
    }

    .about {
        padding: 60px 15px;
    }

    .writer-name {
        font-size: 24px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-subtitle {
        font-size: 18px;
    }
}