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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7f6;
    color: #222;
    line-height: 1.6;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* Header */
.site-header {
    background: white;
    border-bottom: 1px solid #ddd;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-weight: bold;
    font-size: 1.3rem;
    color: #004b2d; /* Marshall-inspired green */
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
}

.nav a:hover {
    color: #004b2d;
}

/* Hero */
:root {
    --green-primary: #1f5f3a;
    --green-dark: #174a2c;
    --gold-accent: #d4a017;
    --river-blue: #6aaed6;
    --river-blue-soft: #dcecf7;
    --bg-soft: #eef3f1;
    --bg-white: #ffffff;
    --text-dark: #213028;
    --text-muted: #55635b;
    --border-soft: #e2ebe5;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(31,95,58,0.08), transparent 28%),
        radial-gradient(circle at 78% 28%, rgba(212,160,23,0.08), transparent 24%),
        linear-gradient(to bottom, #eef3f1 0%, #f7faf8 100%);
    padding: 78px 20px 115px;
}

.hero-inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 52px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-brand {
    flex: 0 0 auto;
}

.hero-logo {
    height: 190px;
    width: auto;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.08));
}

.hero-copy {
    flex: 0 1 560px;
    text-align: left;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(31,95,58,0.08);
    color: var(--green-primary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-copy h1 {
    margin: 0 0 16px;
    font-size: 58px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--green-primary);
}

.hero-copy p {
    margin: 0 0 24px;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.68;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.97rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--green-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31,95,58,0.18);
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-secondary {
    background: rgba(255,255,255,0.82);
    color: var(--green-primary);
    border: 1px solid var(--border-soft);
}

.btn-secondary:hover {
    background: #fff;
}
.module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.module-card {
    position: relative;
    display: block;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
    border: 1px solid #e5ece8;
    border-radius: 20px;
    padding: 28px 24px 24px;
    text-decoration: none;
    color: #1f2a24;
    box-shadow: 0 8px 24px rgba(19, 37, 28, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
}

.module-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #1f5f3a, #d4a017);
    opacity: 0.9;
}

.module-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(19, 37, 28, 0.10);
    border-color: #d9e5dd;
}

.module-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.software-icon {
    background: linear-gradient(180deg, #eef6f1 0%, #e4f0e8 100%);
}

.products-icon {
    background: linear-gradient(180deg, #fff8e7 0%, #f7efd9 100%);
}

.consulting-icon {
    background: linear-gradient(180deg, #edf4f7 0%, #e2edf1 100%);
}

.experiments-icon {
    background: linear-gradient(180deg, #f3eff8 0%, #ebe4f3 100%);
}

.module-icon {
    width: 30px;
    height: 30px;
    stroke: #1f5f3a;
    stroke-width: 2.3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.products-icon .module-icon {
    stroke: #b88912;
}

.experiments-icon .module-icon {
    stroke: #5c4a7b;
}

.module-card h3 {
    margin: 0 0 12px;
    font-size: 1.4rem;
    line-height: 1.15;
    color: #0f5a35;
    letter-spacing: -0.02em;
}

.module-card p {
    margin: 0 0 18px;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4e5b53;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f5f3a;
}

.module-link::after {
    content: "?";
    transition: transform 0.2s ease;
}

.module-card:hover .module-link::after {
    transform: translateX(4px);
}

@media (max-width: 1100px) {
    .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .module-card {
        padding: 24px 20px 22px;
    }
}
/* Footer */
.site-footer {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
}.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;  /* increased */
}
.logo img {
    height: 72px;
    width: auto;
    display: block;
}

/* Larger screens */
@media (min-width: 768px) {
    .logo img {
        height: 88px;
    }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
}

.logo img {
    height: 78px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    color: #233128;
    font-size: 0.96rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--green-primary), var(--gold-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--green-primary);
}

.main-nav a:hover::after {
    transform: scaleX(1);
}.logo img {
    height: 80px;
    transition: transform 0.2s ease;
}

.logo img:hover {
    transform: scale(1.03);
}
.hero {
    background: linear-gradient(to bottom, #eef3f1, #f8f9fa);
    padding: 70px 20px 60px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-brand {
    flex: 0 0 auto;
}

.hero-logo {
    height: 200px;
    width: auto;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.08));
}

.hero-copy {
    flex: 0 1 520px;
    text-align: left;
}

.hero-copy h1 {
    margin: 0 0 14px;
    font-size: 52px;
    line-height: 1.05;
    color: #1f5f3a;
}

.hero-copy p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 540px;
}

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-logo {
        height: 140px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }
}
.hero {
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;

    background: linear-gradient(
        to bottom,
        rgba(248,249,250,0) 0%,
        #ffffff 100%
    );
}
.hero {
    border-bottom: 1px solid #e5e7eb;
}
.hero-bg-shape {
    position: absolute;
    border-radius: 999px;
    filter: blur(0px);
    z-index: 1;
    pointer-events: none;
}

.hero-bg-shape-1 {
    top: 48px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(31,95,58,0.08) 0%, rgba(31,95,58,0.02) 48%, rgba(31,95,58,0) 72%);
}

.hero-bg-shape-2 {
    right: -120px;
    top: 24px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, rgba(212,160,23,0.02) 46%, rgba(212,160,23,0) 74%);
}
.hero-river {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 2;
    line-height: 0;
    pointer-events: none;
}

.hero-river svg {
    display: block;
    width: 100%;
    height: 135px;
}

.river-back {
    fill: rgba(140, 189, 220, 0.18);
}

.river-front {
    fill: rgba(255, 255, 255, 0.95);
}
.module-section {
    position: relative;
    background: #ffffff;
    padding: 18px 20px 80px;
    margin-top: -8px;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.site-footer {
    background: linear-gradient(to bottom, #ffffff 0%, #f8faf9 100%);
    border-top: 1px solid #e6ece8;
    padding: 24px 20px 34px;
}

.site-footer .container {
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 0.95rem;
    color: #627067;
}

.site-footer .footer-mark {
    color: var(--green-primary);
    font-weight: 700;
}
@media (max-width: 980px) {
    .hero {
        padding: 62px 20px 95px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-logo {
        height: 150px;
    }

    .hero-copy h1 {
        font-size: 44px;
    }

    .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-logo {
        height: 128px;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .logo img {
        height: 64px;
    }
}
.main-nav .nav-scrapbook {
    font-weight: 700;
    color: #1f5f3a;
}
.site-footer {
    margin-top: 60px;
    padding: 40px 20px;
    background: linear-gradient(to top, #f4f7f5, #ffffff);
    border-top: 1px solid #e5ece8;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.footer-brand {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: #1f5f3a;
}

.footer-tagline {
    margin: 0;
    font-size: 0.9rem;
    color: #5a675f;
    line-height: 1.5;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.footer-nav a {
    text-decoration: none;
    color: #5a675f;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #1f5f3a;
}

.footer-meta {
    margin: 0;
    text-align: right;
    font-size: 0.85rem;
    color: #7a8780;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-meta {
        text-align: center;
    }
}