
:root {
    --primary: #2b3d26; /* Deep Pine */
    --secondary: #6b7b62; /* Muted Sage */
    --accent: #b09e80; /* Warm Bamboo */
    --bg-main: #f7f6f2; /* Washi Paper */
    --bg-alt: #ecebe6; /* Darker Washi */
    --text-main: #2a2a2a; /* Charcoal */
    --text-muted: #555555;
    --white: #ffffff;
    --border: #dcd8d0;
    --font-serif: 'Shippori Mincho', serif;
    --font-sans: 'Zen Kaku Gothic New', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--primary);
    line-height: 1.4;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Enhancements */
.text-center { text-align: center; }
.text-serif { font-family: var(--font-serif); }
.text-sans { font-family: var(--font-sans); }
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-serif);
    letter-spacing: 0.2em;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow {
    max-width: 800px;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(247, 246, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(247, 246, 242, 0.9) 0%, rgba(247, 246, 242, 0.4) 100%);
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    max-width: 600px;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: var(--spacing-lg);
    animation: fadeUp 1s ease forwards 0.3s;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fadeUp 1s ease forwards 0.6s;
    opacity: 0;
    border: 1px solid var(--primary);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    color: var(--white);
    border-color: var(--accent);
}

.btn:hover::before {
    width: 100%;
}

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

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
}
.section-bg-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    margin: 16px auto 0;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Grids & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card:hover .card-img img {
    transform: scale(1.08);
}

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    font-family: var(--font-serif);
    color: var(--accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}
.card:hover .card-link::after {
    transform: translateX(5px);
}

/* Feature Split */
.feature-split {
    padding: var(--spacing-xl) 0;
}
.feature-split-img {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.feature-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}
.feature-split-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--bg-alt);
    z-index: -1;
}

/* Philosophy Section */
.philosophy {
    position: relative;
    padding: 120px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}
.philosophy h2 {
    color: var(--accent);
}
.philosophy p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}
.philosophy .vertical-text {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: rgba(255,255,255,0.1);
}

/* Page Headers */
.page-header {
    padding: 160px 0 80px;
    background-color: var(--bg-alt);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(176, 158, 128, 0.1);
}
.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Content Blocks */
.content-block {
    margin-bottom: var(--spacing-lg);
}
.content-block h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}
.content-block p {
    margin-bottom: var(--spacing-sm);
}
.content-block ul, .content-block ol {
    margin-bottom: var(--spacing-sm);
    padding-left: 24px;
}
.content-block li {
    margin-bottom: 8px;
}
.content-block img {
    border-radius: 4px;
    margin: var(--spacing-md) 0;
    width: 100%;
}

/* Footer */
footer {
    background-color: #1a2517;
    color: rgba(255,255,255,0.7);
    padding: var(--spacing-xl) 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-title {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}
.footer-bottom a {
    color: rgba(255,255,255,0.7);
    margin: 0 10px;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
        --spacing-md: 2rem;
    }
    
    .nav-container { padding: 0 20px; }
    
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-main);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
        gap: 30px;
    }
    
    .nav-links.active { left: 0; }
    
    .hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
    
    .hero-title { font-size: 2.5rem; }
    
    .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    
    .feature-split { padding: 40px 0; }
    .feature-split-img { order: -1; margin-bottom: 30px; }
    
    .page-title { font-size: 2.2rem; }
    .philosophy { padding: 80px 20px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
}
