:root {
    /* Organic Fluidity Palette */
    --color-bg: #FDFCF8;
    /* Warm Sand/Paper */
    --color-text: #3D4C53;
    /* Deep Slate */
    --color-primary: #2C5F2D;
    /* Deep Moss Green */
    --color-secondary: #97BC62;
    /* Fresh Green */
    --color-accent: #D4A373;
    /* Muted Gold/Earth */
    --color-fluid-1: #A8DADC;
    /* Soft Blue */
    --color-fluid-2: #457B9D;
    /* Deep Blue */

    /* Gradients */
    --gradient-organic: linear-gradient(135deg, #97BC62, #2C5F2D);
    --gradient-fluid: linear-gradient(45deg, #A8DADC, #457B9D);
    --gradient-blob: linear-gradient(135deg, #A8DADC, #2C5F2D);

    /* Typography */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Easing */
    --ease-fluid: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo, .loader-text, .section-title, .btn-organic {
    font-family: var(--font-en);
}

/* Utilities */
.hidden {
    opacity: 0;
    visibility: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* --- Loading Screen (Refined) --- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.loader-blob-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.loader-blob {
    width: 150px;
    height: 150px;
    background: var(--gradient-blob);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(2px);
    /* Animation handled by GSAP */
}

.loader-content {
    position: relative;
    z-index: 2;
    color: var(--color-text);
    text-align: center;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    opacity: 0;
    mix-blend-mode: difference;
    color: white;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: white;
    transition: all 0.5s var(--ease-fluid);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.site-header nav ul {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.site-header a {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Animation Elements */
.hero-circle-container {
    position: relative;
    width: 50%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
}

.hero-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: rotate(-50deg);
    transform-origin: center center;
}

.hero-circle {
    opacity: 0;
}

.hero-trail {
    opacity: 0;
    filter: blur(10px);
    pointer-events: none;
}

.hero-content {
    text-align: left;
    z-index: 1;
    position: relative;
    width: 50%;
    padding-left: 10%;
    /* Add some spacing from edge */
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
}

.hero .highlight {
    font-weight: 600;
    color: var(--color-primary);
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    max-width: 600px;
    margin: 0 auto;
}

.btn-organic {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    border-color: transparent;
}

.btn-organic:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.image-blob {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 63% 37% 30% 70% / 50% 45% 55% 50%;
    transition: border-radius 0.5s ease;
    position: relative;
}

.image-blob img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-blob:hover img {
    transform: scale(1.1);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: white;
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-blob {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-organic);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
    z-index: -1;
    transition: transform 0.5s ease;
}

.service-card:hover .card-blob {
    transform: scale(1.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

/* --- News Section --- */
.news-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    position: relative;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.4s var(--ease-fluid);
}

.news-item:hover::before {
    width: 100%;
}

.news-item:hover {
    padding-left: var(--spacing-sm);
    color: var(--color-primary);
}

.news-item .date {
    font-family: var(--font-en);
    color: #888;
    margin-right: var(--spacing-md);
    min-width: 120px;
}

.news-item .category {
    background: var(--color-bg);
    border: 1px solid var(--color-text);
    color: var(--color-text);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: var(--spacing-md);
    transition: all 0.3s;
}

.news-item:hover .category {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* --- Contact Section --- */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-lg);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: white;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(44, 95, 45, 0.1);
}

/* --- Footer --- */
.site-footer {
    background: var(--color-text);
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-item .date, .news-item .category {
        margin-right: 0;
    }
}