/* Creative Space Consultants: shared styles (NX-4434 redesign) */
:root {
  --blue-900: #10324a;
  --blue-700: #1d5c86;   /* text and buttons on white: 7.0:1 */
  --blue-500: #4890c0;   /* the logo's blue: tiles and accents only */
  --blue-200: #c9dcec;
  --blue-50:  #f1f6fb;
  --ink: #1b2430;
  --muted: #5a6573;
  --line: #dfe6ee;
  --white: #fff;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; }
a { color: var(--blue-700); }
.wrap { width: min(1160px, calc(100% - 2.5rem)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; color: var(--blue-900); }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; }
.eyebrow { font: 700 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-700); margin: 0 0 0.9rem; }
.btn { display: inline-block; font-weight: 700; text-decoration: none; padding: 0.8rem 1.3rem; border-radius: 6px; }
.btn-primary { background: var(--blue-700); color: var(--white); }
.btn-ghost { border: 2px solid var(--blue-700); color: var(--blue-700); }
.contact-band .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.contact-band dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.4rem; margin: 0; }
.contact-band dt { font-weight: 700; } .contact-band dd { margin: 0; }

/* header */
header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--blue-900); }
.brand span { font-size: 0.8rem; color: var(--muted); }
nav { display: flex; align-items: center; gap: 1.4rem; font-weight: 600; font-size: 0.95rem; }
nav a { text-decoration: none; color: var(--ink); }
nav .btn { color: var(--white); padding: 0.55rem 1rem; }

/* hero */
.hero { background: var(--blue-50); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: 4rem 0; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 1.2rem 0 1.8rem; max-width: 34rem; }
.hero .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: 10px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; height: auto; }
.tiles { position: absolute; left: -1.4rem; bottom: -1.4rem; display: grid; grid-template-columns: 34px 34px; gap: 5px; }
.tiles i { width: 34px; height: 34px; background: var(--blue-500); display: block; }
.tiles i:nth-child(2) { background: #88b0d0; } .tiles i:nth-child(3) { background: #98b8d8; } .tiles i:nth-child(4) { background: #6098c8; }

/* proof strip */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.proof div strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--blue-900); }
.proof div span { color: var(--muted); font-size: 0.95rem; }

section { padding: 4.5rem 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.head p { color: var(--muted); max-width: 32rem; margin: 0; }

/* what we supply */
.supply { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.supply article { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.supply img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: contain; background: var(--white); border-bottom: 1px solid var(--line); }
.supply img.scene { object-fit: cover; }
.supply .body { padding: 1rem 1.1rem 1.2rem; }
.supply p { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* how we work */
.how { background: var(--blue-900); color: #dbe7f1; }
.how h2, .how h3 { color: var(--white); }
.how .eyebrow { color: #9cc3e3; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { list-style: none; border-top: 3px solid var(--blue-500); padding-top: 1rem; }
.steps li::before { counter-increment: s; content: "0" counter(s); font: 700 0.85rem var(--sans); color: #9cc3e3; display: block; margin-bottom: 0.4rem; }
.steps p { margin: 0.4rem 0 0; font-size: 0.95rem; }
.steps { padding: 0; margin: 0; }

/* whole foods */
.wf { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.wf ul { padding-left: 1.1rem; color: var(--muted); }
.wf .gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.wf .gallery img { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; border-radius: 8px; }
.wf .gallery img.fit { object-fit: contain; background: var(--white); border: 1px solid var(--line); }

/* partners */
.partners { background: var(--blue-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.logos a, .logos span { transition: border-color 0.15s; background: var(--white); border: 1px solid var(--line); border-radius: 8px; min-height: 92px; display: grid; place-items: center; padding: 1rem; }
.logos img { max-height: 44px; width: auto; height: auto; }

/* government + contact */

footer { background: var(--blue-900); color: #b8cbdc; padding: 2.5rem 0; font-size: 0.92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
footer a { color: var(--white); }

@media (max-width: 860px) {
  header { position: static; }
  html { scroll-padding-top: 0; }
  .bar { flex-wrap: wrap; row-gap: 0.6rem; }
  nav { width: 100%; gap: 0.9rem; font-size: 0.88rem; }
  nav .btn { margin-left: auto; padding: 0.45rem 0.8rem; }
  nav a[href="#how"] { display: none; }
  .hero-grid, .wf, .contact-band .wrap { grid-template-columns: 1fr; }
  .hero-grid { padding: 2.5rem 0; gap: 2rem; }
  .proof { grid-template-columns: 1fr 1fr; }
  .supply { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: 1fr 1fr; }
  .head { flex-direction: column; align-items: start; gap: 0.8rem; }
  section { padding: 3rem 0; }
}

/* Whole Foods standards page */
.page-hero { background: var(--blue-50); border-bottom: 1px solid var(--line); padding: 3.5rem 0; }
.page-hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 1rem 0 0; max-width: 40rem; }
.supply .maker { font-size: 0.85rem; font-weight: 600; color: var(--blue-700); margin: 0.3rem 0 0; }
nav a[aria-current="page"] { color: var(--blue-700); }
.logos a:hover, .logos a:focus-visible { border-color: var(--blue-500); }
