/* ===== CSS VARIABLES ===== */
:root {
    --ink: #1a1a2e;
    --ink-light: #2d2d44;
    --warm: #c8953e;
    --warm-dark: #a87a2f;
    --warm-glow: #c8953e1a;
    --cream: #faf8f4;
    --cream-dark: #f0ece4;
    --text: #4a4a5a;
    --text-light: #7a7a8a;
    --white: #ffffff;
    --border: #e8e4dc;
    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
    --shadow: 0 4px 12px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 12px 32px rgba(26, 26, 46, 0.1);
    --radius: 8px;
    --radius-sm: 4px;
    --transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
    color: var(--ink);
}
h1 { font-size: clamp(2.75rem, 5.5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.6rem); }
p { color: var(--text); margin-bottom: 1rem; }
.section-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 1rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle {
    font-size: 1.15rem;
    max-width: 580px;
    line-height: 1.7;
}
.section-header { margin-bottom: 3.5rem; }
.section-header-center { text-align: center; margin-bottom: 3.5rem; }
.section-header-center .section-subtitle { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn:focus-visible {
    outline: 2px solid var(--warm);
    outline-offset: 2px;
}
.btn-primary {
    background: var(--ink);
    color: var(--cream);
}
.btn-primary:hover {
    background: var(--warm);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
    background: var(--ink);
    color: var(--cream);
}
.btn-large { padding: 18px 40px; font-size: 1.05rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; }
.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: var(--ink);
    font-weight: 400;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--ink);
}
.nav-links a:not(.btn).active {
    border-bottom: 1.5px solid var(--warm);
    padding-bottom: 2px;
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 100px;
    background: var(--cream);
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: center;
}
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content h1 .accent-text {
    color: var(--warm);
    display: block;
    font-style: italic;
}
.hero-description {
    font-size: 1.2rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    color: var(--text);
    max-width: 520px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bird {
    width: 320px;
    height: auto;
    opacity: 0.12;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-graphic:hover .hero-bird {
    opacity: 0.2;
    transform: scale(1.03);
}

/* ===== SERVICES (Homepage) ===== */
.services { padding: 100px 0; background: var(--white); }
.services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.service-item {
    padding: 48px 40px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.service-item:nth-child(odd) { border-right: 1px solid var(--border); }
.service-item:nth-last-child(-n+2) { border-bottom: none; }
.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--warm);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-item:hover::before { height: 100%; }
.service-item:hover { background: var(--warm-glow); }
.service-number {
    font-family: 'DM Serif Display', serif;
    font-size: 0.9rem;
    color: var(--warm);
    margin-bottom: 1rem;
    display: block;
}
.service-item h3 { margin-bottom: 0.75rem; }
.service-item p { margin-bottom: 0; font-size: 1.05rem; line-height: 1.7; }

/* ===== ABOUT PREVIEW (Homepage) ===== */
.about-section { padding: 100px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { font-size: 1.1rem; line-height: 1.8; }
.about-image { position: relative; display: flex; align-items: center; justify-content: center; }
.about-image img {
    border-radius: var(--radius);
    width: 100%;
    max-width: 400px;
}
.approach-list { margin: 1.5rem 0 2rem; }
.approach-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    font-weight: 500;
    color: var(--ink);
    font-size: 1.05rem;
}
.approach-list li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--warm);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: var(--ink);
    text-align: center;
}
.cta-section h2 {
    color: var(--cream);
    margin-bottom: 1rem;
}
.cta-section p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.cta-section .btn-primary {
    background: var(--warm);
    color: var(--white);
}
.cta-section .btn-primary:hover {
    background: var(--warm-dark);
    transform: translateY(-1px);
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 140px 0 60px;
    background: var(--cream);
}
.page-header .section-label { margin-bottom: 0.75rem; }
.page-header h1 { margin-bottom: 1rem; }
.page-header p {
    font-size: 1.2rem;
    max-width: 560px;
    line-height: 1.7;
}
.page-header-center { text-align: center; }
.page-header-center p { margin: 0 auto; }

/* ===== CONTACT ===== */
.contact-section { padding: 80px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}
.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 2rem; }
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--cream);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--warm);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--warm-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-info { padding: 16px 0; }
.contact-info h3 { margin-bottom: 2rem; }
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.info-icon {
    width: 44px;
    height: 44px;
    background: var(--warm-glow);
    border: 1px solid var(--warm);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--warm);
}
.info-content h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; color: var(--ink); }
.info-content p { margin: 0; font-size: 0.95rem; }
.response-note {
    margin-top: 2.5rem;
    padding: 20px 24px;
    background: var(--warm-glow);
    border-left: 3px solid var(--warm);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.response-note h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--ink);
}
.response-note p { margin: 0; font-size: 0.95rem; }

/* ===== SERVICES PAGE ===== */
.services-page { padding: 80px 0; }
.service-detail {
    max-width: 720px;
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-content h3 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
}
.service-detail-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.service-detail-content ul { margin-top: 1.5rem; }
.service-detail-content li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text);
    font-size: 1.02rem;
}
.service-detail-content li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--warm);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== ABOUT PAGE ===== */
.about-detail { padding: 80px 0; background: var(--white); }
.about-detail .about-grid { align-items: start; }
.about-detail .about-content p { margin-bottom: 1.25rem; }

.about-approach { padding: 80px 0; }
.about-approach .about-grid { align-items: start; }

.about-location {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}
.about-location .container { max-width: 680px; }
.about-location h2 { margin-bottom: 1.25rem; }
.about-location p { font-size: 1.15rem; line-height: 1.8; }

/* Bird story section on About page */
.bird-story {
    padding: 80px 0;
    background: var(--ink);
}
.bird-story-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 80px;
    align-items: center;
}
.bird-story-content h2 { color: var(--cream); margin-bottom: 1.25rem; }
.bird-story-content p { color: var(--text-light); font-size: 1.1rem; line-height: 1.8; }
.bird-story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.bird-story-visual img {
    width: 240px;
    height: auto;
    opacity: 0.3;
    filter: invert(1);
}

/* ===== BLOG ===== */
.blog-section { padding: 80px 0; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--warm);
}
.blog-card-image {
    height: 200px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
}
.blog-card-content { padding: 28px; }
.blog-card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 500;
}
.blog-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.blog-card h3 a:hover { color: var(--warm); }
.blog-card p { font-size: 0.95rem; margin-bottom: 0; }
.coming-soon {
    text-align: center;
    padding: 60px 40px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--white);
}
.coming-soon h3 { margin-bottom: 0.75rem; }

/* ===== LEGAL PAGES ===== */
.legal-content { padding: 60px 0 80px; max-width: 720px; margin: 0 auto; }
.legal-content h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; line-height: 1.8; }
.legal-content ul { margin: 1rem 0 1.5rem 0; }
.legal-content li {
    color: var(--text);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--warm);
}
.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* ===== CASE STUDY ===== */
.case-study {
    padding: 100px 0;
    background: var(--ink);
}
.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: center;
}
.case-study-content .section-label { color: var(--warm); }
.case-study-content h2 { color: var(--cream); margin-bottom: 1.25rem; }
.case-study-content > p { color: var(--text-light); font-size: 1.1rem; line-height: 1.8; }
.case-study-highlights { margin: 2rem 0 2.5rem; }
.case-study-highlight {
    padding: 20px 0;
    border-bottom: 1px solid var(--ink-light);
}
.case-study-highlight:last-child { border-bottom: none; }
.case-study-highlight h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--cream);
    margin-bottom: 4px;
}
.case-study-highlight p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}
.case-study-visual {
    background: var(--ink-light);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
}
.case-study-url {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--warm);
    display: block;
    margin-bottom: 1.5rem;
}
.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.case-study-tag {
    padding: 6px 14px;
    border: 1px solid var(--text-light);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
}
.case-study .btn-primary {
    background: var(--warm);
    color: var(--white);
}
.case-study .btn-primary:hover {
    background: var(--warm-dark);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--ink);
    color: var(--text-light);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .logo-img {
    height: 36px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}
.footer-brand p { margin: 1rem 0 0; color: var(--text-light); font-size: 0.95rem; }
.footer h4 {
    font-family: 'DM Sans', sans-serif;
    color: var(--cream);
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.95rem; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--ink-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--cream); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-graphic { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .about-image img { max-width: 280px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .bird-story-grid { grid-template-columns: 1fr; gap: 40px; }
    .bird-story-visual { order: -1; }
    .bird-story-visual img { width: 180px; }
    .services-list { grid-template-columns: 1fr; }
    .service-item { border-right: none !important; }
    .case-study-grid { grid-template-columns: 1fr; gap: 40px; }
    .case-study-visual { order: -1; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-menu-btn { display: flex; }
    .hero { padding: 120px 0 60px; }
    .hero-content { text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .services { padding: 60px 0; }
    .service-item { padding: 32px 24px; }
    .page-header { padding: 120px 0 40px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    .contact-form { padding: 32px 24px; }
    .bird-story-visual img { width: 140px; }
}

/* ===== SKIP NAV ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 12px 24px;
    background: var(--ink);
    color: var(--cream);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius);
    z-index: 10000;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 12px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .fade-up {
        opacity: 1;
        transform: none;
    }
    .hero-bird {
        transition: none;
    }
}

/* ===== INLINE STYLE REPLACEMENTS ===== */
.about-approach-content {
    grid-column: 1 / -1;
    max-width: 640px;
}
.btn-mt { margin-top: 2rem; }
.submit-full { width: 100%; }
.email-link { color: var(--warm); }
.coming-soon-link { color: var(--warm); font-weight: 600; }
