/* ============================================================
   Ponderosa Pixels — Services page styles
   Loaded after site.css; assumes tokens & shared components.
   ============================================================ */

/* ------------------------------------------------------------
   Service section — one full-width section per service
   ------------------------------------------------------------ */
.service-section {
  position: relative;
  padding: clamp(96px, 12vw, 168px) 0;
  overflow: hidden;
}
.service-section--light { background: var(--bg-primary); }
.service-section--dark  {
  background: var(--color-pine);
  color: var(--color-stone);
}
.service-section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/patterns/topo_map_overlay_dark_with_transparency.svg');
  background-size: 1400px;
  background-repeat: repeat;
  opacity: 0.07;
  pointer-events: none;
}
.service-section--dark h2,
.service-section--dark h3,
.service-section--dark p { color: var(--color-stone); }
.service-section .container { position: relative; z-index: 1; }

/* Two-up header: roman numeral / eyebrow on left, big title on right */
.service-section__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.service-section__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-section__numeral {
  font-family: var(--font-primary);
  font-weight: var(--fw-regular);
  font-size: clamp(72px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: var(--ls-tight);
  color: var(--color-canyon);
}
.service-section__title {
  font-family: var(--font-primary);
  font-weight: var(--fw-semibold);
  font-size: clamp(36px, 5vw, 64px);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  max-width: 18ch;
}
.service-section__title .canyon {
  color: var(--color-canyon);
  font-style: italic;
  font-weight: var(--fw-regular);
}

/* Body — image on one side, details column on the other */
.service-section__body {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.service-section--reverse .service-section__body {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}
.service-section--reverse .service-section__media   { order: 2; }
.service-section--reverse .service-section__details { order: 1; }

.service-section__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}
.service-section__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-section__media::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 24%; height: 1px;
  background: var(--color-canyon);
}
.service-section__media::before {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 1px; height: 24%;
  background: var(--color-canyon);
  z-index: 1;
}

.service-section__details { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }

.service-section__prose p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  max-width: 56ch;
  color: inherit;
}
.service-section__prose p + p { margin-top: 18px; }

/* "What's Included" — refined list, no icons */
.included__title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--fg-secondary);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.included__title::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.service-section--dark .included__title { color: var(--color-sage); }

.included__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-light);
}
.service-section--dark .included__list { border-top-color: rgba(145, 163, 146, 0.25); }
.included__list li {
  padding: 18px 0 18px 36px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
}
.service-section--dark .included__list li {
  border-bottom-color: rgba(145, 163, 146, 0.25);
  color: var(--color-stone);
}
.included__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.55em;
  width: 20px; height: 1px;
  background: var(--color-canyon);
}

/* "Who It's For" — short editorial paragraph */
.audience__title { /* shares the same eyebrow treatment as included__title */
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--fg-secondary);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.audience__title::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.service-section--dark .audience__title { color: var(--color-sage); }
.audience p {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  max-width: 52ch;
  color: inherit;
}

.service-section__cta { margin-top: 8px; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .service-section__head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .service-section__body,
  .service-section--reverse .service-section__body { grid-template-columns: 1fr; gap: 40px; }
  .service-section--reverse .service-section__media   { order: 1; }
  .service-section--reverse .service-section__details { order: 2; }
  .service-section__media { aspect-ratio: 4 / 3; }
}
