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

:root {
    --pine: #04150F;
    --pine-2: #082218;
    --green: #005340;
    --lime: #7CCF5A;
    --teal: #36AB98;
    --pearl: #E8EFE9;
    --muted: rgba(232,239,233,.70);
    --hair: rgba(232,239,233,.16);
    --ink: #111B17;
    --paper: #F6F2E8;
    --sheet: #FFFDF7;
    --line: rgba(17,27,23,.12);
    --font: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { min-width: 320px; font-family: var(--font); background: var(--pine); color: var(--pearl); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .10; background-image: linear-gradient(rgba(232,239,233,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(232,239,233,.06) 1px, transparent 1px); background-size: 56px 56px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.wrap { position: relative; width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.top { position: sticky; top: 0; z-index: 20; padding: 20px 0; border-bottom: 1px solid var(--hair); background: rgba(4,21,15,.88); backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; color: var(--muted); font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.nav a { transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible, .nav .active { color: var(--lime); outline: 0; }
.nav .phone { color: var(--pearl); }

.hero { position: relative; overflow: hidden; padding: 136px 0 72px; border-bottom: 1px solid var(--hair); background: linear-gradient(135deg, var(--pine), var(--pine-2)); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: linear-gradient(90deg, var(--teal), var(--lime)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(28px, 6vw, 72px); align-items: end; }
.blog-index .hero-grid { grid-template-columns: 1fr; }
.eyebrow { display: block; margin-bottom: 18px; color: var(--lime); font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 980px; font-size: 4rem; font-weight: 850; font-stretch: 82%; line-height: .92; letter-spacing: 0; text-transform: uppercase; }
.blog-index .hero h1 { max-width: none; white-space: nowrap; font-size: 6.4rem; line-height: .88; }
.hero p { margin-top: 24px; max-width: 66ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.22rem); line-height: 1.7; }
.hero-card { border: 1px solid var(--hair); background: rgba(232,239,233,.045); }
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-card-text { padding: 22px; }
.hero-card-text b { display: block; margin-bottom: 8px; color: var(--lime); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-card-text span { display: block; color: var(--muted); line-height: 1.55; }

.blog-list { position: relative; background: var(--paper); color: var(--ink); padding: clamp(52px, 8vw, 96px) 0; }
.section-kicker { color: var(--green); font-size: .74rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.section-title { margin-top: 12px; max-width: none; white-space: nowrap; font-size: 4.5rem; font-weight: 850; font-stretch: 82%; line-height: .92; text-transform: uppercase; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 28px); margin-top: 36px; }
.post-card { display: grid; grid-template-rows: auto 1fr; min-height: 100%; border: 1px solid rgba(17,27,23,.10); background: var(--sheet); box-shadow: 0 22px 58px rgba(17,27,23,.09); transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(17,27,23,.14); }
.post-card img { width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; padding: 20px 24px 24px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--green); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.post-card h2 { display: -webkit-box; margin: 10px 0 14px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 1.18rem; line-height: 1.04; text-transform: uppercase; }
.post-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: rgba(17,27,23,.72); font-size: .94rem; line-height: 1.6; }
.read-more { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; margin-top: 18px; padding: 0 18px; background: var(--lime); color: var(--pine); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.article-shell { position: relative; background: var(--paper); color: var(--ink); padding: clamp(44px, 7vw, 84px) 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 56px); align-items: start; }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.article { overflow: hidden; border: 1px solid rgba(17,27,23,.10); background: var(--sheet); box-shadow: 0 24px 70px rgba(17,27,23,.10); }
.article > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-body { padding: clamp(28px, 5vw, 58px); }
.article-body h2 { margin: 42px 0 14px; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1; text-transform: uppercase; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 22px; color: rgba(17,27,23,.76); font-size: 1.04rem; line-height: 1.85; }
.article-body a { color: var(--green); font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }
.callout { margin: 28px 0; padding: 22px; border-left: 5px solid var(--lime); background: rgba(124,207,90,.15); color: var(--ink); line-height: 1.75; }
.toc { position: sticky; top: 96px; padding: 26px; border-left: 5px solid var(--lime); background: #FCF8EF; box-shadow: 0 18px 45px rgba(17,27,23,.08); }
.toc h2 { margin-bottom: 14px; font-size: 1rem; text-transform: uppercase; }
.toc a { display: block; padding: 11px 0; border-top: 1px solid var(--line); color: rgba(17,27,23,.70); font-size: .92rem; line-height: 1.4; }

.cta { position: relative; overflow: hidden; padding: clamp(54px, 8vw, 88px) 0; background: var(--pine-2); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { max-width: 780px; font-size: 3.8rem; font-weight: 850; font-stretch: 82%; line-height: .95; text-transform: uppercase; }
.cta h2 span { display: block; }
.cta p { margin-top: 16px; max-width: 58ch; color: var(--muted); line-height: 1.7; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; background: var(--lime); color: var(--pine); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }

.ft { position: relative; padding: 34px 0; border-top: 1px solid var(--hair); color: var(--muted); font-size: .86rem; }
.ft .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.ft-links { display: flex; flex-wrap: wrap; gap: 18px; }
.developer-credit a { color: var(--lime); font-weight: 800; }

@media (max-width: 900px) {
    .hero-grid, .cards, .article-layout, .cta .wrap { grid-template-columns: 1fr; display: grid; }
    .toc { position: static; }
    .hero { padding-top: 118px; }
    .hero h1 { font-size: 3.35rem; }
    .blog-index .hero h1 { font-size: 4.6rem; }
    .section-title { font-size: 3.4rem; }
    .cta h2 { max-width: 620px; font-size: 3rem; }
}

@media (max-width: 680px) {
    .top .wrap, .nav { align-items: flex-start; flex-direction: column; }
    .article > img { aspect-ratio: 4 / 3; }
    .article-body { padding: 24px 18px; }
    .hero { padding: 108px 0 48px; }
    .hero h1 { font-size: 2.45rem; }
    .blog-index .hero h1 { font-size: 2.75rem; }
    .section-title { font-size: 2.35rem; }
    .cta h2 { max-width: 420px; font-size: 2.35rem; }
    .post-card-body { padding: 20px 18px 22px; }
}

@media (max-width: 420px) {
    .wrap { width: min(100% - 28px, 1160px); }
    .hero h1 { font-size: 2rem; }
    .blog-index .hero h1 { font-size: 2.1rem; }
    .section-title { font-size: 1.82rem; }
    .cta h2 { max-width: 300px; font-size: 1.85rem; }
}

