/* Yellow Coop site styles. Brand: yellow #F7B51E → orange #F0851F on near-black, navy #13294B accents. */
:root {
  --y: #F7B51E; --o: #F0851F; --navy: #13294B;
  --bg: #111111; --bg2: #181818; --line: #262626;
  --text: #dddddd; --muted: #a8a8a8; --white: #ffffff;
  --radius: 8px; --max: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--white); }
a:hover { color: var(--y); }
h1, h2, h3 { color: var(--white); line-height: 1.2; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grad { background: linear-gradient(90deg, var(--y), var(--o)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--y); color: #111; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-block; font-weight: 700; font-size: 15px; border-radius: 6px; padding: 11px 18px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-y { background: linear-gradient(90deg, var(--y), var(--o)); color: #111 !important; }
.btn-y:hover { filter: brightness(1.06); }
.btn-ghost { border-color: #555; color: var(--white); }
.btn-ghost:hover { border-color: var(--y); }
.btn-navy { background: var(--navy); color: #fff !important; }

/* Nav */
.site-nav { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(17,17,17,.96); z-index: 5; }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; text-decoration: none; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a:not(.btn) { color: #bbb; text-decoration: none; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--y); }
.nav-toggle { display: none; background: none; border: 1px solid #444; color: #eee; border-radius: 6px; padding: 7px 12px; font-size: 14px; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 12px 16px 18px; gap: 14px; }
  .nav-links.open { display: flex; }
}

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 30px; margin-bottom: 20px; }
.section .lead { color: var(--muted); max-width: 720px; margin: -8px 0 24px; font-size: 17px; }
.eyebrow { color: var(--y); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 36px; }
.hero h1 { font-size: 50px; letter-spacing: -.8px; max-width: 900px; margin-bottom: 18px; }
.hero p { font-size: 19px; color: #bbb; max-width: 660px; margin-bottom: 26px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero { padding-top: 56px; padding-bottom: 28px; }
.page-hero h1 { font-size: 42px; margin: 6px 0 14px; max-width: 820px; }
.page-hero p { font-size: 18px; color: #bbb; max-width: 700px; }

/* Spectrum */
.spectrum { padding-top: 12px; padding-bottom: 56px; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-weight: 600; color: var(--white); font-size: 15px; margin-bottom: 8px; }
.band { display: grid; grid-template-columns: repeat(3, 1fr); background: linear-gradient(90deg, var(--y), var(--o)); border-radius: var(--radius); overflow: hidden; }
.band button { background: transparent; border: 0; padding: 18px 6px; font: 800 19px system-ui, sans-serif; color: var(--navy); cursor: pointer; }
.band button[aria-selected="true"] { background: rgba(19,41,75,.16); box-shadow: inset 0 -3px 0 var(--navy); }
.band-panel { margin-top: 16px; text-align: center; color: #ccc; min-height: 52px; }
.band-panel strong { color: var(--white); }
.band-panel a { color: var(--y); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.tier { border: 1px solid #3a3222; border-radius: var(--radius); padding: 20px; background: var(--bg2); }
.tier.featured { border-color: var(--y); box-shadow: inset 0 0 0 1px var(--y); }
.tier h3 { font-size: 20px; }
.tier .hrs { color: var(--y); font-size: 14px; font-weight: 600; display: block; margin: 2px 0 10px; }
.tier p { font-size: 15px; color: #b5b5b5; }
.tier ul { margin: 10px 0 0 18px; font-size: 14.5px; color: #b5b5b5; }
.tier li { margin-bottom: 4px; }

/* Cards and grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.situation { background: var(--bg2); border-left: 3px solid var(--y); padding: 16px; border-radius: 4px; font-size: 15px; color: #c8c8c8; }
.situation strong { display: block; color: var(--white); margin-bottom: 4px; }
.step { background: var(--bg2); padding: 20px; border-radius: 6px; color: #bbb; font-size: 15px; }
.step .eyebrow { display: block; }
.step h3 { font-size: 19px; margin: 4px 0 6px; }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 8px; }
.card ul { margin: 8px 0 0 18px; color: #c4c4c4; }
.card li { margin-bottom: 6px; }

/* Pillar detail (What We Do) */
.pillar { padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.pillar-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.pillar-head h2 { font-size: 32px; }
.pillar-head .role { color: var(--y); font-weight: 700; }
.pillar .lead { color: #bbb; max-width: 760px; font-size: 17px; margin-bottom: 22px; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { background: var(--bg2); border-radius: 6px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
.post-card img, .post-card .ph { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: linear-gradient(135deg, #2a2418, #3b2a12); }
.post-card .body { padding: 14px 16px 18px; }
.post-card .tag { color: var(--y); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.post-card h3 { font-size: 17px; margin: 4px 0 6px; }
.post-card:hover h3 { color: var(--y); }
.post-card .date { color: #888; font-size: 13px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filters button { background: var(--bg2); border: 1px solid #333; color: #ddd; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--y); color: #111; border-color: var(--y); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--white); font-size: 17px; }
.faq details p { margin-top: 10px; color: #c4c4c4; max-width: 760px; }

/* Prose */
.prose { max-width: 740px; }
.prose p { margin-bottom: 14px; color: #cfcfcf; font-size: 17px; }
.prose h2 { font-size: 26px; margin: 32px 0 12px; }

/* CTA band + footer */
.cta-band { margin: 24px 0 56px; padding: 26px; border-radius: 10px; background: linear-gradient(90deg, var(--y), var(--o)); color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-band p { font-size: 20px; }
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 28px; font-size: 14px; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.foot-row nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-row nav a { color: #bbb; text-decoration: none; }
.foot-row nav a:hover { color: var(--y); }

@media (max-width: 860px) {
  .hero h1 { font-size: 36px; }
  .page-hero h1 { font-size: 32px; }
  .tiers, .grid-3, .grid-2, .posts { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .band button { font-size: 16px; padding: 16px 4px; }
  .roles { font-size: 12px; }
  .roles span { padding: 0 2px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .roles .long { display: none; }
}
@media (min-width: 521px) { .roles .short { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
