:root {
    --color-bg-base: #f7f5f0;
    --color-bg-alt: #e9e4dc;
    --color-forest: #1a3c2e;
    --color-forest-dark: #0f261c;
    --color-sage: #5c7463;
    --color-earth: #775d3a;
    --color-sand: #d4c9b8;
    --color-text-main: #333333;
    --color-text-muted: #5e5e5e;
}

body {
    font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,system-ui,sans-serif, sans-serif;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Shippori Mincho', serif;
}

/* Typography Enhancements */
.text-forest { color: var(--color-forest); }
.bg-forest { background-color: var(--color-forest); }
.border-sand { border-color: var(--color-sand); }
.bg-alt { background-color: var(--color-bg-alt); }

.section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-forest);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--color-sage);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Organic Shapes & Borders */
.organic-border {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.card-botanical {
    background: #ffffff;
    border: 1px solid var(--color-sand);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-botanical:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(26, 60, 46, 0.1);
    border-color: var(--color-sage);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--color-forest);
    color: #ffffff;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--color-forest);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-forest);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--color-forest);
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--color-forest);
}

.btn-outline:hover {
    background-color: var(--color-forest);
    color: #ffffff;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .card-botanical {
        border-radius: 16px;
    }
    
    .btn-primary, .btn-outline {
        padding: 0.875rem 2rem;
        width: 100%;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Decorative Elements */
.leaf-pattern-bg {
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M54.627 0l.83.83-54.627 54.627-.83-.83L54.627 0z" stroke="%231a3c2e" stroke-width="0.5" fill="none" fill-rule="evenodd" opacity="0.05"/></svg>');
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--color-sand);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-sage);
}html{scroll-padding-top:6rem}

.skip-link{position:absolute;left:12px;top:-60px;z-index:3000;background:#fff;color:#1f2e28;padding:10px 16px;border-radius:6px;box-shadow:0 2px 10px rgba(0,0,0,.15);text-decoration:none;font-weight:600}
.skip-link:focus{top:12px}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .fade-in,.scroll-reveal{opacity:1!important;transform:none!important}
}
.section-subtitle{color:#4b6152}
.content-prose .text-sand{color:var(--color-sand)}
