/* Seed4equity — modern theme (2026) */

:root {
    --green-950: #06231b;
    --green-900: #0a3327;
    --green-800: #114634;
    --green-700: #1a5c45;
    --green-600: #247a5b;
    --sage: #d7e4da;
    --cream: #f7f6f1;
    --ink: #14201b;
    --muted: #5c6b63;
    --line: #e3e6df;
    --radius: 20px;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }
.container.narrow { width: min(780px, 92%); }

/* ---------- Nav ---------- */

#nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 18px 0;
    transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}

#nav.scrolled {
    padding: 10px 0;
    background: rgba(247, 246, 241, .85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(20, 32, 27, .08);
}

.nav-inner {
    width: min(1160px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.brand img { width: 30px; height: 30px; }

#nav .brand { color: #fff; }
#nav:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
#nav.scrolled .brand { color: var(--green-900); }

.nav-links { display: flex; align-items: center; gap: 26px; font-size: .92rem; font-weight: 500; }
.nav-links a { color: rgba(255, 255, 255, .85); transition: color .2s; }
.nav-links a:hover { color: #fff; }
#nav.scrolled .nav-links a { color: var(--muted); }
#nav.scrolled .nav-links a:hover { color: var(--green-900); }

.nav-cta {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .45);
}
#nav.scrolled .nav-cta { border-color: var(--green-700); color: var(--green-800) !important; }
.nav-cta:hover { background: rgba(255, 255, 255, .12); }
#nav.scrolled .nav-cta:hover { background: var(--green-700); color: #fff !important; }

@media (max-width: 640px) {
    .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 120px 5% 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 35, 27, .55) 0%, rgba(6, 35, 27, .35) 45%, rgba(6, 35, 27, .82) 100%),
        url("../img/hero.jpg") center / cover no-repeat;
}

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

.hero-logo {
    width: 132px;
    margin: 0 auto 28px;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .35)) brightness(0) invert(1);
    opacity: .96;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 420;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 1.14;
    letter-spacing: -.01em;
    text-wrap: balance;
}

.hero-sub {
    margin-top: 20px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: rgba(255, 255, 255, .82);
}

.hero-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-light { background: var(--cream); color: var(--green-900); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.btn-light:hover { background: #fff; }

.btn-ghost { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .75);
    animation: float 2.4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

@media (max-width: 640px) {
    .br-lg { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-alt { background: #efeee7; }

.section-head { max-width: 640px; margin-bottom: 56px; }

.eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 12px;
}
.eyebrow.light { color: var(--sage); }

.section h2, .mission h2 {
    font-family: var(--font-display);
    font-weight: 480;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--green-950);
}

.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }

/* ---------- Portfolio grid ---------- */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 26px;
}

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

a.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px -18px rgba(10, 51, 39, .28);
    border-color: transparent;
}

.card-media {
    position: relative;
    aspect-ratio: 650 / 350;
    overflow: hidden;
    background: #fff;
}

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

a.card:hover .card-media img { transform: scale(1.04); }

.badge-exited {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(6, 35, 27, .82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }

.chip {
    align-self: flex-start;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--green-700);
    background: rgba(36, 122, 91, .1);
    padding: 4px 11px;
    border-radius: 999px;
}

.card h3 {
    font-size: 1.12rem;
    font-weight: 650;
    color: var(--green-950);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.arrow { font-size: .85em; color: var(--green-600); opacity: 0; transform: translate(-4px, 4px); transition: all .25s ease; }
a.card:hover .arrow { opacity: 1; transform: translate(0, 0); }

/* ---------- Mission ---------- */

.mission {
    background:
        radial-gradient(1200px 600px at 15% -10%, rgba(46, 169, 127, .22), transparent 60%),
        radial-gradient(900px 500px at 95% 110%, rgba(46, 169, 127, .14), transparent 60%),
        var(--green-950);
    color: #fff;
    padding: 130px 0;
    text-align: center;
}

.mission h2 { color: #fff; max-width: 720px; margin: 0 auto; }

.mission blockquote { margin: 44px auto 0; max-width: 640px; }

.mission blockquote p {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 380;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    line-height: 1.45;
    color: var(--sage);
}

.mission cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-size: .88rem;
    color: rgba(255, 255, 255, .6);
}

.mission-text { margin: 30px auto 40px; max-width: 560px; color: rgba(255, 255, 255, .78); }

/* ---------- Contact ---------- */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    max-width: 760px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 32px;
    color: var(--green-700);
}

.contact-card h3 { margin: 16px 0 6px; font-size: 1.05rem; color: var(--green-950); }
.contact-card p { color: var(--muted); font-size: .98rem; }

/* ---------- Footer ---------- */

footer { border-top: 1px solid var(--line); padding: 34px 0; background: var(--cream); }

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-inner .brand { color: var(--green-900); font-size: .98rem; }
.footer-inner .brand img { width: 26px; height: 26px; }
.footer-inner p { color: var(--muted); font-size: .86rem; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .scroll-hint { animation: none; }
}
