/* =====================================================================
   LAYOUT — container, 12-col grid, section rhythm, surfaces, backdrops
   ===================================================================== */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tight {
  padding-block: var(--section-y-sm);
}

/* ---- Surfaces */
.surface-sand {
  background: var(--color-surface);
}
.surface-paper {
  background: var(--color-surface-soft);
}
.surface-green {
  background: var(--color-green);
  color: var(--color-text-on-dark);
}
.surface-ink {
  background: var(--color-ink);
  color: var(--color-text-on-dark);
}

/* ---- Section heads */
.section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
}
/* Rule: a section description always sits directly under its title. */
.section-head--stack {
  max-width: 760px;
}
.section-head__aside {
  display: grid;
  gap: 18px;
  justify-items: start;
  margin-top: 22px;
  color: var(--color-text-muted);
  max-width: 62ch;
}

.section-num {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-gold-text);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--color-gold);
}

/* ---- Eyebrow (section label with legal-style numbering) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  color: var(--color-gold-text);
  line-height: 1.4;
}
.eyebrow__num {
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
}
.eyebrow__line {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  transform-origin: right center;
}
.eyebrow--on-dark {
  color: var(--color-gold-light);
}
.eyebrow--on-dark .eyebrow__num {
  color: var(--color-text-on-dark-muted);
}
.eyebrow--center {
  justify-content: center;
}

/* Fine architectural grid lines */
.line-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    to left,
    var(--color-border) 1px,
    transparent 1px
  );
  background-size: calc(100% / 6) 100%;
}

/* Crop marks — editorial print detail */
.crop {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 3;
}
.crop::before,
.crop::after {
  content: "";
  position: absolute;
  background: var(--color-gold);
}
.crop::before {
  width: 100%;
  height: 1px;
}
.crop::after {
  width: 1px;
  height: 100%;
}
.crop--tr {
  top: -10px;
  right: -10px;
}
.crop--tr::before {
  top: 9px;
}
.crop--tr::after {
  left: 9px;
}
.crop--tl {
  top: -10px;
  left: -10px;
}
.crop--tl::before {
  top: 9px;
}
.crop--tl::after {
  right: 9px;
}
.crop--br {
  bottom: -10px;
  right: -10px;
}
.crop--br::before {
  bottom: 9px;
}
.crop--br::after {
  left: 9px;
}
.crop--bl {
  bottom: -10px;
  left: -10px;
}
.crop--bl::before {
  bottom: 9px;
}
.crop--bl::after {
  right: 9px;
}

