:root {
    --bs-primary: #0d2b38;
    --bs-primary-rgb: 13, 43, 56;
    --bs-link-color: #0d2b38;
    --bs-link-color-rgb: 13, 43, 56;
    --bs-link-hover-color: #0b2432;
}

.btn-primary {
    --bs-btn-bg: #0d2b38;
    --bs-btn-border-color: #0d2b38;
    --bs-btn-hover-bg: #0b2432;
    --bs-btn-hover-border-color: #0b2432;
    --bs-btn-active-bg: #091e2a;
    --bs-btn-active-border-color: #091e2a;
    --bs-btn-disabled-bg: #0d2b38;
    --bs-btn-disabled-border-color: #0d2b38;
}

.btn-outline-primary {
    --bs-btn-color: #0d2b38;
    --bs-btn-border-color: #0d2b38;
    --bs-btn-hover-bg: #0d2b38;
    --bs-btn-hover-border-color: #0d2b38;
    --bs-btn-active-bg: #0d2b38;
    --bs-btn-active-border-color: #0d2b38;
    --bs-btn-focus-shadow-rgb: 13, 43, 56;
}

html {
    font-size: 16px;
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.letter-spacing-wide {
    letter-spacing: 0.08em;
}

.bg-hero-gradient {
    background: linear-gradient(135deg, #0d2b38 0%, #1a5276 60%, #2196a6 100%) !important;
}

/* Proposals rendered from markdown (/proposals/{id}) */
.proposal-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.proposal-body h3 {
    margin-top: 1.75rem;
    font-size: 1.15rem;
}

.proposal-body img {
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    margin: .5rem 0 1rem;
}

.proposal-body table {
    display: block;
    overflow-x: auto;
}

.proposal-body .contains-task-list {
    list-style: none;
    padding-left: .25rem;
}

/* Our work: screenshot cards (Pages/Shared/_WorkCard.cshtml) */
.work-card {
    background: #fff;
    border-radius: .75rem;
    box-shadow: 0 1px 3px rgba(13, 43, 56, .08), 0 8px 24px rgba(13, 43, 56, .06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.work-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 6px rgba(13, 43, 56, .1), 0 16px 36px rgba(13, 43, 56, .12);
}

.work-shot {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    background: linear-gradient(135deg, #e8f1f4 0%, #d4e6ec 100%);
    overflow: hidden;
}

.work-browser {
    position: absolute;
    left: 6%;
    top: 9%;
    width: 80%;
    border-radius: .4rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(13, 43, 56, .18);
}

.work-browser-bar {
    height: 14px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 7px;
}

.work-browser-bar span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ced4da;
}

.work-browser img,
.work-phone img {
    display: block;
    width: 100%;
    height: auto;
}

.work-phone {
    position: absolute;
    right: 5%;
    bottom: -8%;
    width: 23%;
    aspect-ratio: 9 / 18;
    border: 4px solid #1b1f23;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(13, 43, 56, .3);
}

.work-phone img {
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.work-shot--desktop-only .work-browser {
    left: 8%;
    width: 84%;
}

.work-shot--phone-only .work-phone {
    left: 50%;
    right: auto;
    bottom: -12%;
    width: 34%;
    transform: translateX(-50%);
}

.work-badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: #e4572e;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .25rem .55rem;
    border-radius: 999px;
}

.work-body {
    padding: 1.25rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.work-tag {
    font-size: .72rem;
    background: #eef5f7;
    color: #0d2b38;
    border-radius: 999px;
    padding: .2rem .6rem;
}

.work-link {
    margin-top: auto;
    font-weight: 600;
    text-decoration: none;
}

/* App screenshots shown as phones (Platforms, Fisho) */
.app-phone {
    width: 46%;
    max-width: 210px;
    border: 6px solid #1b1f23;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(13, 43, 56, .25);
}

.app-phone img {
    display: block;
    width: 100%;
    height: auto;
}

/* What We Build */
.build-card {
    background: #fff;
    border: 1px solid #e3ecef;
    border-radius: .75rem;
    padding: 1.4rem;
    border-top: 4px solid #2196a6;
}

.report-list li {
    padding: .75rem 0 .75rem 1.75rem;
    border-bottom: 1px solid #dfe8eb;
    position: relative;
}

.report-list li::before {
    content: "¹3";
    position: absolute;
    left: 0;
    color: #2196a6;
    font-weight: 700;
}
