/* Public Forty Acres Energy site (40ac.us). One stylesheet for every page. */
:root { --ink:#1f2328; --muted:#57606a; --line:#d0d7de; --bg:#f4f5f7; --card:#ffffff; --link:#0969da; }
* { box-sizing:border-box; }
html { overflow-x:hidden; }
body { margin:0; background:var(--bg); color:var(--ink); line-height:1.6;
       font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
a { color:var(--link); }
.wrap { max-width:860px; margin:0 auto; padding:0 16px; }

header { background:var(--card); border-bottom:1px solid var(--line); }
header .wrap { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding-top:12px; padding-bottom:12px; }
header .brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); }
header img { height:38px; display:block; }
header .name { font-weight:700; font-size:17px; }
header nav { margin-left:auto; display:flex; flex-wrap:wrap; gap:4px 18px; }
header nav a { text-decoration:none; color:var(--ink); font-size:14.5px; display:inline-block; padding:10px 0; }
header nav a[aria-current] { color:var(--link); font-weight:600; }

main { padding:8px 0 24px; }
h1 { font-size:26px; line-height:1.25; margin:26px 0 6px; }
.lede { color:var(--muted); font-size:16px; margin:0 0 18px; }
section, .card { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:22px 26px; margin:16px 0; }
h2 { font-size:18px; margin:0 0 8px; }
h3 { font-size:15px; margin:18px 0 4px; }
p, li { font-size:15px; }
ul { padding-left:22px; margin:6px 0; }
.eff { color:var(--muted); font-size:13px; margin:-2px 0 14px; }
.key { background:#f6f8fa; border-left:3px solid var(--ink); padding:10px 14px; margin:12px 0; font-weight:600; }
.grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap:16px; }
.grid { margin-bottom:24px; }
.grid .card { margin:0; }
address { font-style:normal; }
figure { margin:8px 0 0; }
figure img { width:100%; height:auto; border:1px solid var(--line); border-radius:4px; display:block; }
figcaption { color:var(--muted); font-size:13px; margin-top:8px; }

footer { border-top:1px solid var(--line); background:var(--card); color:var(--muted); font-size:13px; }
footer .wrap { display:flex; flex-wrap:wrap; gap:6px 18px; padding-top:16px; padding-bottom:22px; }
footer a, footer span { color:var(--muted); display:inline-block; padding:10px 0; }
@media (max-width:560px) { section, .card { padding:18px 16px; } h1 { font-size:22px; } }

/* Home page photo with the company name over it. The dark gradient keeps the
   text readable whatever part of the photo sits behind it. */
.hero { position:relative; background:#2a1e17; max-height:520px; overflow:hidden; }
.hero img { display:block; width:100%; height:auto; min-height:300px; max-height:520px; object-fit:cover;
            object-position:center 40%; }
.hero-text { position:absolute; left:0; right:0; bottom:0; color:#fff;
             background:linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0)); padding-top:60px; padding-bottom:18px; }
.hero-text h1 { color:#fff; margin:0 0 4px; text-shadow:0 1px 3px rgba(0,0,0,.5); }
.hero-text .lede { color:#f2f2f2; margin:0; max-width:760px; text-shadow:0 1px 3px rgba(0,0,0,.5); }

/* Company logos: both wordmarks side by side, same visual height. */
.logos { display:flex; flex-wrap:wrap; align-items:center; gap:22px 48px; padding:6px 0; }
.logos img { height:40px; width:auto; max-width:100%; display:block; }
