/* About Us (design A). Reuses home-1.css for the intro, why grid and areas; adds the service links and work row. */

/* consecutive light sections: the sec-head rule already separates them, so no double gap */
.page-about .section + .section { padding-top: 0; }

/* ---------- What we do: the 10 services as links ---------- */
.svc-links { display: grid; border-top: 1px solid var(--line-strong); }
.svc-links li { border-bottom: 1px solid var(--line); }
.svc-links a {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: center; gap: 12px;
  min-height: 60px; padding: 12px 0; text-decoration: none; transition: color .2s;
}
.sl-num { font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--accent); }
.sl-name { font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.2; }
.svc-links .icon { width: 18px; height: 18px; color: var(--accent); }
.svc-links a:hover { color: var(--accent); }
@media (min-width: 760px) {
  .svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}

/* ---------- Our work: three client photos ---------- */
.work-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: transparent; }
.text-link .icon { width: 16px; height: 16px; flex: none; }
.work-grid { display: grid; gap: 24px 20px; }
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.work-cap { margin-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-stretch: 85%; font-weight: 600; font-size: 1.1rem; }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .about-work .sec-intro { margin-bottom: clamp(28px, 3vw, 44px); } }

/* ---------- Areas: a shorter version of the homepage band ---------- */
.areas-compact { min-height: clamp(360px, 34vw, 500px); }
.areas-compact .areas-body { padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(36px, 4.5vw, 64px); }
.areas-compact .area-name { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 5rem); }

/* phones: the three photos become one swipe row, so the page stays short */
@media (max-width: 767px) {
  .work-grid {
    grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-grid > li { scroll-snap-align: start; }
}
