/*
 * Build A Shelf Child — about.css
 * ----------------------------------------------------------------------------
 * Styling for the standard editorial content page ("About Build A Shelf").
 * This is the reference "content page" type — restrained, editorial, warm-
 * industrial. Reused by any classic-content page that opts into .bas-page.
 *
 * Companion to layout.css (site chrome) and components.css (homepage blocks);
 * split to keep each file under the 500-line cap. Enqueued by functions.php.
 *
 * All colors/fonts reference :root tokens declared in style.css.
 * Selectors are .bas-* scoped so they ride on classic WP content without
 * overriding The7 globals.
 * ========================================================================== */

/* ==========================================================================
   PAGE SHELL — centered editorial column on the warm white page bg
   ========================================================================== */

.bas-page {
  max-width: 880px;
  margin:    0 auto;
  padding:   72px 56px 96px;
}

/* ==========================================================================
   PAGE HEADER — mono eyebrow + serif title + lede
   ========================================================================== */

.bas-page__eyebrow {
  font-family:    var(--font-mono);
  font-size:      10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color:          var(--warm-mid);
  margin-bottom:  18px;
  display:        flex;
  align-items:    center;
  gap:            10px;
}
.bas-page__eyebrow::before {
  content:    '';
  display:    inline-block;
  width:      24px;
  height:     0.5px;
  background: var(--rust);
}

.bas-page__title {
  font-family:    var(--font-display);
  font-size:      clamp(36px, 4vw, 52px);
  font-weight:    400;
  line-height:    1.1;
  letter-spacing: -1px;
  color:          var(--ink);
  margin:         0 0 22px;
}
.bas-page__title em { color: var(--rust); font-style: italic; }

.bas-page__lede {
  font-family:   var(--font-body);
  font-size:     18px;
  font-weight:   300;
  line-height:   1.7;
  color:         var(--ink-mid);
  max-width:     620px;
  margin:        0 0 8px;
}

/* Hairline rule under the header block. */
.bas-page__rule {
  border:     0;
  border-top: 0.5px solid var(--linen-dark);
  margin:     44px 0;
}

/* ==========================================================================
   SECTIONS — serif sub-head + restrained body copy
   ========================================================================== */

.bas-page__section { margin-bottom: 44px; }
.bas-page__section:last-child { margin-bottom: 0; }

/* Section following the dark USA panel ("Why it holds up") — the panel only
   carries 8px bottom margin, so restore the 44px inter-section rhythm here. */
.bas-page__usa + .bas-page__section { margin-top: 44px; }

.bas-page__section h2 {
  font-family:    var(--font-display);
  font-size:      26px;
  font-weight:    400;
  letter-spacing: -0.3px;
  color:          var(--ink);
  margin:         0 0 14px;
}

.bas-page__section p {
  font-family: var(--font-body);
  font-size:   15px;
  font-weight: 300;
  line-height: 1.8;
  color:       var(--ink-mid);
  margin:      0 0 14px;
  max-width:   640px;
}
.bas-page__section p:last-child { margin-bottom: 0; }
.bas-page__section p strong { font-weight: 500; color: var(--ink); }
.bas-page__section a {
  color:         var(--rust);
  border-bottom: 1px solid var(--blush);
  text-decoration: none;
  transition:    border-color 0.15s ease;
}
.bas-page__section a:hover { border-color: var(--rust); }

/* ==========================================================================
   VALUE GRID — 3 hairline cards: the configurable-dimensions value prop
   ========================================================================== */

.bas-page__grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   14px;
  margin:                28px 0 8px;
}

.bas-page__card {
  background:    var(--linen);
  border:        0.5px solid var(--linen-dark);
  border-radius: 12px;
  padding:       24px;
}

.bas-page__card-label {
  font-family:    var(--font-mono);
  font-size:      9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color:          var(--rust);
  margin-bottom:  10px;
}
.bas-page__card-title {
  font-family:    var(--font-display);
  font-size:      19px;
  font-weight:    400;
  letter-spacing: -0.2px;
  color:          var(--ink);
  margin:         0 0 8px;
}
.bas-page__card-desc {
  font-family: var(--font-body);
  font-size:   13px;
  font-weight: 300;
  line-height: 1.65;
  color:       var(--ink-mid);
  margin:      0;
}

/* ==========================================================================
   USA NOTE — ink panel with terra "Made in USA" accent
   ========================================================================== */

.bas-page__usa {
  background:    var(--ink);
  border-radius: 14px;
  padding:       40px 44px;
  margin:        8px 0;
}
.bas-page__usa-label {
  font-family:    var(--font-mono);
  font-size:      10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color:          var(--terra);
  margin-bottom:  14px;
}
.bas-page__usa h2 {
  font-family:    var(--font-display);
  font-size:      28px;
  font-weight:    400;
  letter-spacing: -0.4px;
  color:          var(--cream);
  margin:         0 0 12px;
}
.bas-page__usa h2 em { color: var(--terra); font-style: italic; }
.bas-page__usa p {
  font-family: var(--font-body);
  font-size:   14px;
  font-weight: 300;
  line-height: 1.8;
  color:       #9A968F;
  margin:      0;
  max-width:   560px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .bas-page       { padding: 56px 32px 72px; }
  .bas-page__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .bas-page        { padding: 44px 20px 56px; }
  .bas-page__usa   { padding: 32px 24px; }
  .bas-page__lede  { font-size: 16px; }
}
