:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #152f36; background: #edf2ef; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
.riverwise-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 44px; }
.riverwise-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.riverwise-brand { display: inline-flex; align-items: center; min-height: 62px; color: inherit; text-decoration: none; }
.riverwise-logo { display: block; width: min(346px, 48vw); max-height: 76px; object-fit: contain; object-position: left center; }
.riverwise-brand-fallback { display: none; line-height: 1; letter-spacing: -.04em; }
.riverwise-brand.is-logo-fallback .riverwise-brand-fallback { display: grid; gap: 6px; }
.riverwise-brand-fallback strong { color: #104b5c; font-size: clamp(2rem, 4vw, 2.65rem); }
.riverwise-brand-fallback small { color: #43616a; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.riverwise-organization { margin: 0; color: #526a70; font-size: 1rem; }
.riverwise-hero { margin-top: 34px; padding: clamp(28px, 3.4vw, 42px); border-radius: 24px; color: #f5faf8; background: linear-gradient(118deg, #123b46 0%, #17606a 55%, #327a79 100%); box-shadow: 0 18px 50px rgba(24, 58, 64, .18); }
.riverwise-eyebrow { margin: 0 0 12px; color: #568e8d; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.riverwise-hero .riverwise-eyebrow { color: #afddcf; }
.riverwise-hero h1 { margin: 0; font-size: clamp(2rem, 4.25vw, 3.7rem); line-height: 1.01; letter-spacing: -.045em; }
.riverwise-hero > p:last-child { margin: 24px 0 0; color: #d6e8e4; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.58; letter-spacing: -.008em; }
.riverwise-cases { margin-top: 62px; }
.riverwise-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 22px; }
.riverwise-section-heading .riverwise-eyebrow { font-size: .84rem; }
.riverwise-section-heading h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.riverwise-section-heading > p { max-width: 390px; margin: 0; color: #536b70; line-height: 1.5; }
.riverwise-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.riverwise-case-card { display: grid; grid-template-columns: minmax(180px, .82fr) minmax(0, 1fr); min-height: 310px; overflow: hidden; border: 1px solid #d6e0db; border-radius: 18px; background: #fff; box-shadow: 0 9px 26px rgba(23, 52, 56, .08); }
.riverwise-case-image { position: relative; min-height: 100%; background: #dfe9e5; overflow: hidden; }
.riverwise-case-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(12, 44, 48, .24)); pointer-events: none; }
.riverwise-case-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
a.riverwise-case-image:hover img, a.riverwise-case-image:focus-visible img { transform: scale(1.04); }
.riverwise-case-content { display: flex; flex-direction: column; padding: 25px; }
.riverwise-case-status { margin: 0 0 18px; color: #257462; font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.is-development .riverwise-case-status, .is-coming-soon .riverwise-case-status { color: #866427; }
.riverwise-case-content h3 { margin: 0; font-size: 1.38rem; line-height: 1.16; letter-spacing: -.025em; }
.riverwise-case-subtitle { margin: 7px 0 0; color: #60777b; font-size: .92rem; }
.riverwise-case-description { margin: 18px 0 24px; color: #354f55; line-height: 1.53; }
.riverwise-case-action { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-width: 118px; min-height: 42px; margin-top: auto; padding: 0 17px; border: 0; border-radius: 8px; color: #fff; background: #155564; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.riverwise-case-action:hover, .riverwise-case-action:focus-visible { background: #0c4552; }
.riverwise-case-action:disabled { color: #6e7474; background: #e3e7e3; cursor: not-allowed; }
.riverwise-footer { margin-top: 62px; padding-top: 22px; border-top: 1px solid #d4dfd9; color: #63777a; font-size: .88rem; }
@media (max-width: 760px) { .riverwise-shell { width: min(100% - 28px, 1180px); padding-top: 16px; } .riverwise-header, .riverwise-section-heading { align-items: flex-start; flex-direction: column; gap: 14px; } .riverwise-organization { padding-left: 2px; } .riverwise-hero { margin-top: 22px; border-radius: 18px; } .riverwise-case-grid { grid-template-columns: 1fr; } .riverwise-case-card { grid-template-columns: 1fr; } .riverwise-case-image { min-height: 190px; max-height: 260px; } .riverwise-section-heading > p { max-width: 580px; } }
