/*
  FILE GUIDE: service-rows.css

  What this controls:
  - Reusable editorial service row layouts.

  How to change it:
  - Use padding/gap values here to change the shared row rhythm.
  - Do not put one-off page sections here; page files are easier to find later.
*/

.svc-section {
  padding-block: clamp(5rem, 10vw, 8rem);
  border-top: 2px solid var(--border-hvy);
}
.about-dark.svc-section { border-color: rgba(247,242,233,.08); }

/* ── Section header: title left, description right ── */
.svc-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: end;
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 2px solid var(--border-hvy);
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.about-dark .svc-header { border-color: rgba(247,242,233,.1); }

.svc-header__left {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.svc-title {
  font-family: var(--disp);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.96;
  letter-spacing: .01em;
}
.about-dark .svc-title { color: var(--cream); }

.svc-desc {
  font-size: .9375rem;
  line-height: 1.8;
  color: rgba(29,29,29,.5);
  max-width: 46ch;
  align-self: end;
  padding-bottom: .25rem;
}
.about-dark .svc-desc { color: rgba(247,242,233,.45); }

/* ── Full-width image ── */
.svc-img-wrap {
  margin-bottom: clamp(0rem, 2vw, 0rem);
  overflow: hidden;
}
.svc-img {
  width: 100%;
  aspect-ratio: 21/8;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.svc-img-wrap:hover .svc-img { transform: scale(1); }

/* ── Service rows (the editorial list) ── */
.svc-rows {
  border-top: 2px solid var(--border-hvy);
  margin-top: clamp(3rem, 5vw, 4rem);
}
.about-dark .svc-rows { border-color: rgba(247,242,233,.12); }

.svc-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: padding-left .45s var(--ease), background .3s;
}
.about-dark .svc-row { border-color: rgba(247,242,233,.08); }

/* Orange bar that wipes up from the bottom on hover */
.svc-row::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--theme);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.svc-row:hover { padding-left: 1.5rem; background: rgba(29,29,29,.025); }
.about-dark .svc-row:hover { background: rgba(247,242,233,.04); }
.svc-row:hover::before { transform: scaleY(1); }

.svc-row__num {
  font-family: var(--disp);
  font-size: .72rem;
  letter-spacing: .12em;
  color: rgba(29,29,29,.28);
  min-width: 2.75rem;
  flex-shrink: 0;
  transition: opacity .3s;
}
.svc-row:hover .svc-row__num { opacity: 0; }
.about-dark .svc-row__num { color: rgba(247,242,233,.22); }

.svc-row__title {
  font-family: var(--disp);
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  letter-spacing: -.03em;
  line-height: .95;
  flex: 1;
  transition: letter-spacing .45s var(--ease);
}
.svc-row:hover .svc-row__title { letter-spacing: -.01em; }
.about-dark .svc-row__title { color: var(--cream); }

.svc-row svg {
  width: 18px; height: 18px;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity .3s, transform .45s var(--ease);
  flex-shrink: 0;
  color: var(--accent-orange);
}
.svc-row:hover svg { opacity: 1; transform: translate(0, 0); }

/* ── Pull quote ── */
.svc-quote {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding: 0 0 0 2rem;
  border-left: 3px solid var(--accent-orange);
  max-width: 55ch;
  font-family: var(--disp);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  font-style: italic;
  color: rgba(29,29,29,.45);
}
.about-dark .svc-quote { color: rgba(247,242,233,.4); }

/* ── How we work header ── */
.svc-process-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-hvy);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .svc-header { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
  .svc-img { aspect-ratio: 16/7; }
  .svc-title { font-size: clamp(3rem, 10vw, 5rem); }
}
@media (max-width: 640px) {
  .svc-row__title { font-size: clamp(1.3rem, 6vw, 2rem); }
  .svc-img { aspect-ratio: 4/3; }
  .svc-quote { font-size: clamp(1.1rem, 5vw, 1.5rem); }
}
