:root {
    --bg: #FAF9F7;
    --text: #1B1B1B;
    --text-secondary: #737380;
    --accent: #2B6B5B;
    --accent-hover: #1F524A;
    --border: #E2E0DB;
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background-color: rgba(43, 107, 91, 0.12);
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ——— Hero ——— */

.hero {
    position: relative;
    padding: 8rem 0 5rem;
    min-height: 45vh;
    display: flex;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .hero {
        padding: 14rem 0 6rem;
        min-height: 50vh;
    }
}

.glow {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(43, 107, 91, 0.045) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: drift 25s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 25px) scale(1.05); }
    66% { transform: translate(20px, -15px) scale(0.95); }
}

.eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 1.25rem;
}

h1 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: var(--text);
}

.tagline {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tagline em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 1.25em;
}

.tagline a {
    color: var(--accent);
    text-decoration: none;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.35s ease;
}

.tagline a:hover {
    background-size: 100% 1px;
}

/* ——— Load Animations ——— */

.anim {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.7s ease forwards;
    animation-delay: calc(var(--i) * 0.12s + 0.3s);
}

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

/* ——— Scroll Animations ——— */

.anim-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.anim-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.about .anim-scroll:nth-child(2) { transition-delay: 0.1s; }
.about .anim-scroll:nth-child(3) { transition-delay: 0.2s; }

/* ——— Divider ——— */

.rule {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
}

.rule span {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
    opacity: 0.2;
    background-size: 200% 100%;
    animation: shimmer 10s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

/* ——— About ——— */

.about {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .about { padding: 5rem 0; }
}

.prose p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text);
    font-weight: 300;
}

.prose p + p {
    margin-top: 1.5rem;
}

.prose a {
    color: var(--accent);
    text-decoration: none;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 100% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: opacity 0.25s ease;
}

.prose a:hover {
    opacity: 0.65;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 1.65rem;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

/* ——— Contact ——— */

.contact {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .contact { padding: 5rem 0; }
}

.contact p {
    font-size: 1.08rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact a {
    color: var(--accent);
    text-decoration: none;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.35s ease;
    font-weight: 400;
}

.contact a:hover {
    background-size: 100% 1px;
}

/* ——— Footer ——— */

footer {
    padding: 4rem 0 3rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.02em;
}
