@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Inter:wght@100..900&display=swap');

:root {
    /* Colors - Japanese Professional Minimalism (Light) */
    --bg-color: #faf9f5;
    --surface-color: #faf9f5;
    --surface-container-lowest: #ffffff;
    --on-surface: #1b1c1a;
    --on-surface-variant: #46464b;
    
    --primary: #19191c;
    --on-primary: #ffffff;
    
    --accent: #4C5270;
    --accent-light: #A7998B; /* Wood tone */
    
    --outline: #E5E5E5;
    --outline-variant: #c7c6cb;
    
    /* Spacing */
    --unit: 8px;
    --container-max: 1200px;
    --section-padding: 120px;
    
    /* Typography */
    --font-headline: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--on-surface);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-headline);
    font-weight: 300; /* Light weight for Manrope as per design */
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: var(--primary);
}

h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: calc(var(--unit) * 4); }
h2 { font-size: clamp(24px, 4vw, 36px); margin-bottom: calc(var(--unit) * 3); font-weight: 400; }
h3 { font-size: 24px; font-weight: 400; letter-spacing: 0.03em; }

p {
    font-size: 16px;
    color: var(--on-surface-variant);
    max-width: 65ch;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Layout */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 64px; /* Margin-page as per design */
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
}

.section {
    padding: var(--section-padding) 0;
}

/* Components */
.card {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline);
    border-radius: 4px;
    padding: calc(var(--unit) * 4);
    transition: border-color 0.3s ease;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    background: var(--primary);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--on-surface-variant);
    text-decoration: underline;
    text-underline-offset: 4px;
}

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

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 249, 245, 0.9);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--outline);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-headline);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
}

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

.nav-links a {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--on-surface-variant);
}

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

/* Footer */
footer {
    padding: 80px 0;
    background: var(--surface-color);
    border-top: 1px solid var(--outline);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--on-surface-variant);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
}

.hero-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
}

/* Expertice Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .expertise-grid { grid-template-columns: 1fr; }
}

/* Utility */
.subheading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: block;
    margin-bottom: 16px;
}

.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }
