/* Design System */
:root {
    /* Literary color palette */
    --background: hsl(35, 40%, 96%);
    --foreground: hsl(0, 10%, 15%);
    --card: hsl(35, 35%, 98%);
    --card-foreground: hsl(0, 10%, 15%);
    --primary: hsl(355, 65%, 35%);
    --primary-foreground: hsl(35, 40%, 98%);
    --secondary: hsl(35, 25%, 88%);
    --secondary-foreground: hsl(0, 10%, 15%);
    --muted: hsl(35, 25%, 92%);
    --muted-foreground: hsl(0, 5%, 45%);
    --accent: hsl(42, 85%, 55%);
    --accent-foreground: hsl(0, 10%, 15%);
    --border: hsl(35, 20%, 88%);
    --input: hsl(35, 20%, 88%);
    --ring: hsl(355, 65%, 35%);

    /* Custom tokens */
    --burgundy: hsl(355, 65%, 35%);
    --burgundy-light: hsl(355, 55%, 50%);
    --gold: hsl(42, 85%, 55%);
    --cream: hsl(35, 40%, 96%);
    --parchment: hsl(35, 35%, 98%);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(355, 65%, 35%) 0%, hsl(355, 55%, 45%) 100%);
    --gradient-accent: linear-gradient(to right, hsl(42, 85%, 55%) 0%, hsl(42, 75%, 65%) 100%);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-soft: 0 4px 20px -4px hsla(0, 10%, 15%, 0.1);
    --shadow-medium: 0 8px 30px -8px hsla(0, 10%, 15%, 0.15);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

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

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--muted-foreground);
    font-weight: 300;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.gradient-line {
    height: 1px;
    width: 6rem;
    background: var(--gradient-accent);
    margin: 0 auto 2rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background-color: hsl(355, 65%, 30%);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
}

.mouse-wheel {
    width: 0.25rem;
    height: 0.75rem;
    background-color: var(--primary);
    border-radius: 0.25rem;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.bg-secondary {
    background-color: hsla(35, 25%, 88%, 0.3);
}

/* About Section */
.about-card {
    background-color: var(--card);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    padding: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 400px;
        gap: 3rem;
    }
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: hsla(0, 10%, 15%, 0.8);
    margin-bottom: 1.5rem;
}

.about-image {
    width: 100%;
    height: 60%;
    max-width: 400px;
    border-radius: .75rem;
    box-shadow: var(--shadow-medium);
    object-fit: cover;
}

.awards-section {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.awards-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.awards-list {
    list-style: none;
}

.awards-list li {
    display: flex;
    align-items: start;
    margin-bottom: 0.5rem;
    color: hsla(0, 10%, 15%, 0.8);
}

.bullet {
    color: var(--gold);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

/* Poetry Section */
.poems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

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

/* Selected Works / video embeds */
.poems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
}

/* Responsive embed: maintain 16:9 aspect ratio */
.embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Single column on small screens */
@media (max-width: 768px) {
    .poems-grid {
        grid-template-columns: 1fr;
    }
}

.poem-card {
    background-color: var(--card);
    border: 1px solid hsla(35, 20%, 88%, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.poem-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: hsla(355, 65%, 35%, 0.2);
}

.poem-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.poem-title {
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.poem-card:hover .poem-title {
    color: var(--primary);
}

.poem-year {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.poem-excerpt {
    padding-left: 1rem;
    border-left: 2px solid hsla(42, 85%, 55%, 0.3);
    color: hsla(0, 10%, 15%, 0.7);
    font-style: italic;
    line-height: 1.6;
    white-space: pre-line;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.poem-card:hover .poem-excerpt {
    border-left-color: hsla(42, 85%, 55%, 0.6);
}

.poem-footer {
    padding-top: 1.5rem;
    border-top: 1px solid hsla(35, 20%, 88%, 0.5);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: none;
    border: none;
    font-family: var(--font-body);
}

.read-more:hover {
    color: hsla(355, 65%, 30%, 0.8);
}

.read-more span {
    transition: transform 0.3s;
}

.read-more:hover span {
    transform: translateX(0.25rem);
}

/* Performances Section */
.timeline {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--primary), var(--gold), hsla(355, 65%, 35%, 0.2));
}

@media (min-width: 768px) {
    .timeline-line {
        left: 50%;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 5rem;
}

@media (min-width: 768px) {
    .timeline-item {
        padding-left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .timeline-item:nth-child(even) .performance-card {
        order: -1;
    }
}

.timeline-dot {
    position: absolute;
    left: 2rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    margin-left: -0.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    border: 4px solid var(--background);
    box-shadow: var(--shadow-medium);
    z-index: 10;
}

@media (min-width: 768px) {
    .timeline-dot {
        left: 50%;
    }
}

.performance-card {
    background-color: var(--card);
    border: 1px solid hsla(35, 20%, 88%, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

/* Step 2: Ensure timeline two-column layout alternates and stacks on small screens */
/* (existing .timeline, .timeline-line, .timeline-item, .timeline-dot rules retained earlier) */

/* Step 3: Add Process section styles (How We'll Work Together) */
.process-section {
    padding: 4rem 0;
    background: transparent;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }
}

.process-step {
    background: var(--card);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.process-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-foreground);
    background: var(--primary);
    box-shadow: var(--shadow-medium);
}

/* color variants */
.process-circle.blue {
    background: #2563eb;
}

.process-circle.green {
    background: #16a34a;
}

.process-circle.purple {
    background: #7c3aed;
}

.process-circle.amber {
    background: #d97706;
}

.process-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.process-copy {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Step 4: small-screen tweaks for process */
@media (max-width: 767px) {
    .process-circle {
        width: 44px;
        height: 44px;
    }

    .process-step {
        padding: 1rem;
    }
}


/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 64rem;
    margin: 0 auto;
}

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

.contact-form {
    background-color: var(--card);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background-color: var(--background);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: none;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
}

.form-submit:hover {
    background-color: hsl(355, 65%, 30%);
}

.contact-info-card {
    background-color: var(--card);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-medium);
}

.contact-info-content {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: hsla(355, 65%, 35%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.contact-info-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-text {
    color: var(--muted-foreground);
}

.newsletter-card {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    border-radius: 1rem;
    box-shadow: var(--shadow-medium);
    padding: 2rem;
    text-align: center;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-text {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid hsla(35, 40%, 98%, 0.2);
    border-radius: 0.5rem;
    background-color: hsla(35, 40%, 98%, 0.1);
    color: var(--primary-foreground);
    font-family: var(--font-body);
}

.newsletter-input::placeholder {
    color: hsla(35, 40%, 98%, 0.6);
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-foreground);
    color: var(--primary);
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-button:hover {
    background-color: hsla(35, 40%, 98%, 0.9);
}

/* Footer */
footer {
    background-color: hsla(35, 25%, 88%, 0.3);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.social-link {
    color: var(--muted-foreground);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    color: var(--primary);
}

.social-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-divider {
    height: 1px;
    width: 6rem;
    background: var(--gradient-accent);
    margin: 0 auto 1.5rem;
}

.copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.footer-quote {
    font-size: 0.75rem;
    color: hsla(0, 5%, 45%, 0.6);
    font-style: italic;
}

/* Services section */
.services {
    padding: 4rem 0;
}

.services .section-header {
    margin-bottom: 2.5rem;
}

/* grid: 1 column on small, 2 columns on medium+, keep consistent card width */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

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

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border-top: 4px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* colored top borders (variants) */
.service-card.border-blue {
    border-top-color: #2563eb;
}

.service-card.border-green {
    border-top-color: #16a34a;
}

.service-card.border-purple {
    border-top-color: #7c3aed;
}

.service-card.border-amber {
    border-top-color: #d97706;
}

/* icon box */
.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f3f4f6;
    /* light gray */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.service-icon-box.bg-green {
    background: rgba(16, 185, 129, 0.12);
}

.service-icon-box.bg-purple {
    background: rgba(124, 58, 237, 0.08);
}

.service-icon-box.bg-amber {
    background: rgba(217, 119, 6, 0.08);
}

.service-icon {
    width: 20px;
    height: 20px;
    color: inherit;
    stroke: currentColor;
    color: #111827;
}

/* titles / copy */
.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.service-copy {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

/* feature list inside card */
.service-list {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* colored dot markers */
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dot.blue {
    background: #2563eb;
}

.dot.green {
    background: #16a34a;
}

.dot.purple {
    background: #7c3aed;
}

.dot.amber {
    background: #d97706;
}

/* responsive tweaks */
@media (max-width: 767px) {
    .service-icon-box {
        width: 44px;
        height: 44px;
    }

    .service-card {
        padding: 1.25rem;
    }
}

/* FAQ Section - site-styled to match index layout */
.faq-section {
    padding: 4rem 0;
    background: transparent;
}

.faq-list {
    max-width: 64rem;
    margin: 0 auto;
    display: grid;
    gap: 1rem; /* revert to smaller grid gap; vertical spacing handled by item padding */
    padding-top: 1rem;
}

.faq-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.75rem 1.5rem; /* increased padding for larger internal spacing */
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.faq-answer {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 0.975rem;
}

/* responsive: tighten spacing on small screens */
@media (max-width: 767px) {
    .faq-list { gap: 0.75rem; }
    .faq-item { padding: 1.25rem 1rem; } /* reduced padding on small screens */
}