@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
    --ink: #0f0f0e;
    --paper: #f7f5f0;
    --muted: #8a8780;
    --accent: #2a6b4f;
    --accent-hover: #1f5239;
    --accent-light: #e8f2ec;
    --rule: #e0ddd7;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: .22s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
    opacity: .022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(52px, 7vw, 96px);
    line-height: 1.0;
    letter-spacing: -0.03em;
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 4vw, 56px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

h2 em, h1 em {
    font-style: italic;
    color: var(--accent);
}

h3 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(22px, 2.5vw, 28px);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-intro {
    font-size: 16px;
    color: var(--muted);
    max-width: 500px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 64px;
}

.btn-primary {
    background: var(--ink);
    color: var(--paper);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Sora', sans-serif;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42,107,79,.22);
}

.btn-primary svg {
    transition: transform var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-ghost {
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1px;
    transition: color var(--transition), border-color var(--transition);
}

.btn-ghost:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--rule);
    background: transparent;
    color: var(--ink);
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-1px);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}

@keyframes breathe {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.06); }
}

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