/* ==========================================================================
   137 CORE SPC — Corporate Architecture Manifesto (sub-page)
   Owner-supplied styling. Palette: #000000 bg · #ffffff text · #a0a0a0 / #888888
   gray · #E5A93C gold · #141414 / #1a1a1a hairlines · #050505 / #0d0d0d panels.
   One 4px gold stripe at the top of the page.

   NOTE ON SELECTOR SCOPE: the supplied document used a bare `header` selector.
   It is scoped here to `.ab-header` instead. css/style.css already documents the
   hazard — index.html uses three <header class="section-head"> elements as section
   headings, so a bare `header` rule turns those into sticky black bars at
   z-index 1000. Scoping keeps this sheet safe if the pages are ever merged.
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #000000;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.top-stripe {
  height: 4px;
  background: linear-gradient(90deg, #E5A93C, #F3D078, #E5A93C);
  width: 100%;
}

.ab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid #141414;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  white-space: nowrap;
}
.logo span { color: #E5A93C; }

.back-link {
  color: #888888;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.back-link:hover { color: #E5A93C; }

.manifesto-moat {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 4rem;
}

.page-title { margin-bottom: 4rem; }
.page-title p {
  color: #E5A93C;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.page-title h1 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-top: 0.5rem;
  line-height: 1.15;
}

/* THE PILLAR VERTICAL LAYER STACK */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
}
.pillar-box {
  background-color: #050505;
  border: 1px solid #141414;
  padding: 3rem;
  border-left: 2px solid #1a1a1a;
  transition: border-left-color 0.3s ease;
}
.pillar-box:hover { border-left-color: #E5A93C; }
.pillar-box h2 {
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #E5A93C;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.pillar-box p { color: #a0a0a0; font-size: 0.95rem; }

/* BENEFITS TIED TO whiteBOARD BUCKETS */
.benefits-vault {
  border-top: 2px solid #141414;
  padding-top: 4rem;
}
.benefits-vault h2 {
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
}

.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
/* Added when the list grew from 4 items to 5 (thirty-eighth pass): an odd count
   in a 2-column grid orphans the final card beside an empty cell. Letting that
   last card span the full row keeps the grid reading as complete and deliberate
   rather than as a gap. Harmless in the 1-column layouts below, where 1 / -1 is
   simply the only column. */
.benefit-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.benefit-item {
  background-color: #0d0d0d;
  border: 1px solid #1a1a1a;
  padding: 2rem;
}
.benefit-item h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.benefit-item h3 span { color: #E5A93C; }
.benefit-item p { color: #888888; font-size: 0.9rem; }

/* ==========================================================================
   Responsive — the supplied CSS had no breakpoints at all. A fixed 2-column
   pillar grid plus `padding: 0 4rem` leaves ~29px of text column on a 390px
   phone, so these rules are required, not decorative.
   ========================================================================== */
@media (max-width: 900px) {
  .ab-header { padding: 1.25rem 2.5rem; }
  .manifesto-moat { padding: 0 2.5rem; margin: 3rem auto; }
  .page-title { margin-bottom: 3rem; }
  .page-title h1 { font-size: 2.25rem; }
  .pillar-grid { gap: 2rem; margin-bottom: 3.5rem; }
  .pillar-box { padding: 2.5rem; }
  .benefits-vault { padding-top: 3rem; }
}

@media (max-width: 760px) {
  /* two fixed columns stop reading as a pair once each box is under ~260px wide */
  .pillar-grid { grid-template-columns: 1fr; }
  .benefits-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ab-header { padding: 1rem 1.25rem; flex-wrap: wrap; gap: 1rem; }
  .logo { font-size: 1.15rem; letter-spacing: 1.5px; }
  .back-link { font-size: 0.78rem; letter-spacing: 0.8px; }
  .manifesto-moat { padding: 0 1.25rem; margin: 2.5rem auto; }
  .page-title { margin-bottom: 2.25rem; }
  .page-title h1 { font-size: 1.75rem; letter-spacing: -0.5px; }
  .page-title p { font-size: 0.8rem; letter-spacing: 1.5px; }
  .pillar-grid { gap: 1.25rem; margin-bottom: 3rem; }
  .pillar-box { padding: 1.5rem; }
  .pillar-box h2 { font-size: 1.05rem; letter-spacing: 0.5px; }
  .benefits-vault { padding-top: 2.5rem; }
  .benefits-vault h2 { font-size: 1.35rem; margin-bottom: 1.75rem; }
  .benefits-list { gap: 1.25rem; }
  .benefit-item { padding: 1.5rem; }
}
