/* Art-directed redesign pass: alignment, rhythm and richer service pages */
.site-header .brand {
  min-width: 250px;
  align-items: center;
}
.site-header .brand-mark {
  width: 50px;
  height: 50px;
  margin-left: -6px;
  flex: 0 0 50px;
}
.site-header .brand-copy { line-height: 1; }
.site-header .brand-top {
  display: block;
  font-size: 18px;
  line-height: 1;
}
.site-header .brand-name {
  display: block;
  margin-top: 1px;
  font-size: 31px;
  line-height: .88;
}
.header-inner { align-items: center; }
.main-nav { margin-right: 0; }

/* Homepage hero: copy owns its column and never enters photography */
.hero {
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  min-height: 600px;
}
.hero-copy-wrap {
  justify-content: flex-start;
  padding: 62px 0 68px;
}
.hero-copy {
  width: min(520px, calc(100% - 72px));
  margin: 0 0 0 max(24px, calc((100vw - 1180px) / 2));
}
.hero h1 {
  max-width: 100%;
  font-size: clamp(70px, 6.2vw, 94px);
  letter-spacing: -.025em;
  line-height: .88;
  white-space: nowrap;
}
.hero-lead { font-size: clamp(29px, 2.5vw, 42px); }
.hero-services { max-width: 505px; font-size: clamp(18px, 1.35vw, 22px); }
.hero-line-one { right: 15px; }
.hero-line-two { right: 42px; }

/* Subpage heroes use the same strict text/media boundary */
.subpage-hero {
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  min-height: 590px;
}
.subpage-hero-copy {
  width: min(590px, calc(100% - max(24px, calc((100vw - 1180px) / 2))));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding: 72px 74px 78px 0;
}
.subpage-hero h1 {
  max-width: 560px;
  font-size: clamp(50px, 5vw, 72px);
  line-height: .91;
  overflow-wrap: normal;
  hyphens: none;
}
.subpage-hero-copy > p:not(.eyebrow) { max-width: 530px; }
.subpage-hero-media {
  min-height: 590px;
  clip-path: polygon(8% 0,100% 0,100% 100%,0 100%);
}

/* Alternating service bands instead of identical rows */
.service-directory {
  position: relative;
  border-top: 0;
}
.directory-row {
  width: var(--shell);
  min-height: 360px;
  grid-template-columns: minmax(0, 1.08fr) 105px minmax(0, .92fr);
  gap: 38px;
  border: 0;
  overflow: visible;
}
.directory-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--white);
  border-top: 1px solid var(--line);
}
.directory-row:last-child::before { border-bottom: 1px solid var(--line); }
.directory-row:nth-child(even)::before { background: var(--sky-pale); }
.directory-row:nth-child(odd) .directory-image {
  grid-column: 1;
  grid-row: 1;
}
.directory-row:nth-child(odd) .directory-number {
  grid-column: 2;
  grid-row: 1;
}
.directory-row:nth-child(odd) > div {
  grid-column: 3;
  grid-row: 1;
}
.directory-row:nth-child(even) {
  grid-template-columns: 105px minmax(0, .92fr) minmax(0, 1.08fr);
}
.directory-row:nth-child(even) .directory-number {
  grid-column: 1;
  grid-row: 1;
}
.directory-row:nth-child(even) > div {
  grid-column: 2;
  grid-row: 1;
}
.directory-row:nth-child(even) .directory-image {
  grid-column: 3;
  grid-row: 1;
}
.directory-number {
  align-self: center;
  font-size: clamp(62px, 6vw, 92px);
  line-height: .8;
  letter-spacing: -.045em;
  text-align: center;
}
.directory-row h2 { font-size: clamp(35px, 3.3vw, 52px); }
.directory-row p { max-width: 390px; }
.directory-image {
  align-self: center;
  min-height: 285px;
  height: 285px;
  clip-path: none;
}
.directory-row:nth-child(1) .directory-image,
.directory-row:nth-child(3) .directory-image {
  clip-path: polygon(0 0,100% 0,92% 100%,0 100%);
}
.directory-row:nth-child(2) .directory-image,
.directory-row:nth-child(4) .directory-image {
  clip-path: polygon(8% 0,100% 0,100% 100%,0 100%);
}
.directory-image::before {
  right: 24px;
  bottom: 0;
  color: var(--graphite);
  background: var(--sky);
}
.directory-row:nth-child(odd) .directory-image::before { right: 42px; }
.directory-row:hover .directory-number { color: var(--graphite); }

/* Rich service-detail system */
.detail-diagnosis {
  position: relative;
  color: var(--white);
  background: var(--graphite-2);
  overflow: hidden;
}
.detail-diagnosis-grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.06fr) minmax(260px, .7fr);
  align-items: stretch;
}
.detail-diagnosis-heading {
  padding: 80px 56px 72px 0;
}
.detail-diagnosis-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 3.3vw, 50px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .94;
  text-transform: uppercase;
}
.detail-diagnosis-heading h2 span { color: var(--sky); }
.detail-problems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  border-left: 1px solid rgba(255,255,255,.18);
}
.detail-problem {
  min-height: 185px;
  padding: 34px 30px;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.detail-problem:nth-child(-n+2) { border-top: 1px solid rgba(255,255,255,.18); }
.detail-problem strong {
  display: block;
  margin-bottom: 10px;
  color: var(--sky);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}
.detail-problem p { margin: 0; color: rgba(255,255,255,.67); font-size: 14px; line-height: 1.55; }
.detail-diagnosis-photo {
  position: relative;
  min-height: 520px;
  clip-path: polygon(15% 0,100% 0,100% 100%,0 100%);
}
.detail-diagnosis-photo::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--sky);
}

.detail-story {
  padding: 112px 0;
  background: var(--white);
}
.detail-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, .48fr) minmax(300px, .82fr);
  gap: 26px;
  align-items: center;
}
.detail-story.is-reversed .detail-story-copy { grid-column: 1; grid-row: 1; padding: 0 62px 0 0; }
.detail-story.is-reversed .detail-story-main { grid-column: 2 / 4; grid-row: 1; }
.detail-story.is-reversed .detail-story-detail { grid-column: 3; grid-row: 1; transform: translateY(155px); }
.detail-story-main {
  min-height: 520px;
  overflow: hidden;
}
.detail-story-detail {
  min-height: 410px;
  transform: translateY(78px);
  box-shadow: 0 20px 45px rgba(22,32,39,.16);
  border: 10px solid var(--white);
}
.detail-story-copy { padding-left: 46px; }
.detail-story-copy h2 {
  margin-bottom: 24px;
  color: var(--graphite);
  font-family: var(--display);
  max-width: 100%;
  font-size: clamp(42px, 3.8vw, 58px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .93;
  text-transform: uppercase;
}
.detail-story-copy h2 span { color: var(--sky-dark); }
.detail-story-copy p { color: var(--muted); font-size: 17px; }
.detail-story-copy strong { color: var(--graphite); }

.detail-fact-band {
  padding: 92px 0;
  background: var(--sky-pale);
}
.detail-fact-grid {
  display: grid;
  grid-template-columns: minmax(320px,.9fr) minmax(0,1.1fr);
  gap: 86px;
  align-items: center;
}
.detail-fact-grid.is-reversed .detail-fact-media { grid-column: 2; grid-row: 1; }
.detail-fact-grid.is-reversed .detail-fact-copy { grid-column: 1; grid-row: 1; }
.detail-fact-media {
  min-height: 430px;
  position: relative;
}
.detail-fact-media::before {
  content: "";
  position: absolute;
  inset: -16px 36px 28px -18px;
  border: 2px solid var(--sky);
}
.detail-fact-media img { position: relative; z-index: 1; }
.detail-fact-copy h2 {
  margin-bottom: 20px;
  color: var(--graphite);
  font-family: var(--display);
  font-size: clamp(41px,4.2vw,61px);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}
.detail-fact-copy h2 span { color: var(--sky-dark); }
.detail-fact-copy p { color: var(--muted); font-size: 17px; }
.detail-fact-points {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(35,45,52,.18);
}
.detail-fact-points li {
  padding: 14px 0;
  display: flex;
  gap: 13px;
  border-bottom: 1px solid rgba(35,45,52,.18);
  color: var(--graphite);
  font-weight: 750;
}
.detail-fact-points li::before {
  content: "";
  width: 18px;
  height: 2px;
  margin-top: 11px;
  background: var(--sky-dark);
}

.detail-scope { padding: 96px 0 88px; }
.detail-scope-head {
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}
.detail-scope-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--graphite);
  font-family: var(--display);
  font-size: clamp(42px,4.7vw,65px);
  font-weight: 900;
  line-height: .94;
  text-transform: uppercase;
}
.detail-scope-head h2 span { color: var(--sky-dark); }
.detail-scope-head p { max-width: 330px; margin: 0; color: var(--muted); }
.detail-scope-rail {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-scope-item {
  min-height: 220px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}
.detail-scope-item:last-child { border-right: 0; }
.detail-scope-item span {
  display: block;
  margin-bottom: 46px;
  color: var(--sky-dark);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
}
.detail-scope-item h3 {
  margin-bottom: 9px;
  color: var(--graphite);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.detail-scope-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.detail-process {
  color: var(--white);
  background: var(--graphite);
}
.detail-process-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
}
.detail-process-copy {
  align-self: center;
  padding: 76px 78px 76px max(0px, calc((100vw - 1180px) / 2));
}
.detail-process-copy h2 {
  margin-bottom: 36px;
  font-family: var(--display);
  font-size: clamp(44px,4.4vw,64px);
  font-weight: 900;
  line-height: .94;
  text-transform: uppercase;
}
.detail-process-copy h2 span { color: var(--sky); }
.detail-steps { border-top: 1px solid rgba(255,255,255,.2); }
.detail-step {
  display: grid;
  grid-template-columns: 62px 150px 1fr;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.detail-step span { color: var(--sky); font-family: var(--display); font-size: 23px; font-weight: 900; }
.detail-step strong { font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.detail-step p { margin: 0; color: rgba(255,255,255,.66); font-size: 13px; }
.detail-process-media {
  min-height: 560px;
  clip-path: polygon(8% 0,100% 0,100% 100%,0 100%);
}

.detail-picture-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  height: 330px;
  border-top: 8px solid var(--sky);
}
.detail-picture-strip figure { overflow: hidden; }
.detail-picture-strip figure + figure { border-left: 8px solid var(--white); }

@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0,54%) minmax(0,46%); }
  .hero h1 { font-size: clamp(66px,7.1vw,84px); }
  .subpage-hero { grid-template-columns: minmax(0,54%) minmax(0,46%); }
  .subpage-hero h1 { font-size: clamp(46px,5.8vw,64px); }
  .directory-row { gap: 24px; }
  .detail-diagnosis-grid { grid-template-columns: .72fr 1.08fr; }
  .detail-diagnosis-photo { display: none; }
  .detail-story-grid { grid-template-columns: .95fr .4fr .82fr; }
  .detail-scope-rail { grid-template-columns: repeat(3,1fr); }
  .detail-scope-item:nth-child(3) { border-right: 0; }
  .detail-scope-item:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .site-header .brand { min-width: 0; }
  .site-header .brand-mark { margin-left: -4px; }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .hero-copy-wrap { min-height: 510px; }
  .hero-copy { width: var(--shell); margin: 0 auto; }
  .hero h1 { font-size: clamp(64px,12vw,92px); white-space: normal; }
  .hero-media { min-height: 450px; }
  .subpage-hero { display: flex; grid-template-columns: none; }
  .subpage-hero-copy { width: var(--shell); margin: 0 auto; padding-right: 0; }
  .subpage-hero-media { width: 100%; }
  .directory-row,
  .directory-row:nth-child(even) {
    min-height: 0;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    padding: 45px 0;
  }
  .directory-row:nth-child(odd) .directory-image,
  .directory-row:nth-child(even) .directory-image {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 270px;
    height: 270px;
    clip-path: none;
  }
  .directory-row:nth-child(odd) .directory-number,
  .directory-row:nth-child(even) .directory-number {
    grid-column: 1;
    grid-row: 1;
    font-size: 55px;
  }
  .directory-row:nth-child(odd) > div,
  .directory-row:nth-child(even) > div {
    grid-column: 2;
    grid-row: 1;
  }
  .detail-diagnosis-grid { grid-template-columns: 1fr; }
  .detail-diagnosis-heading { padding: 70px 0 38px; }
  .detail-problems { border-left: 0; padding-bottom: 70px; }
  .detail-story-grid,
  .detail-story.is-reversed .detail-story-grid {
    grid-template-columns: 1fr .55fr;
    align-items: end;
  }
  .detail-story-main,
  .detail-story.is-reversed .detail-story-main { grid-column: 1 / -1; grid-row: 1; min-height: 430px; }
  .detail-story-detail,
  .detail-story.is-reversed .detail-story-detail { grid-column: 2; grid-row: 1; min-height: 300px; transform: translate(0,55px); }
  .detail-story-copy,
  .detail-story.is-reversed .detail-story-copy { grid-column: 1 / -1; grid-row: 2; padding: 85px 0 0; }
  .detail-fact-grid,
  .detail-fact-grid.is-reversed { grid-template-columns: 1fr; gap: 55px; }
  .detail-fact-grid.is-reversed .detail-fact-media,
  .detail-fact-grid.is-reversed .detail-fact-copy { grid-column: 1; grid-row: auto; }
  .detail-process-grid { grid-template-columns: 1fr; }
  .detail-process-copy { padding: 72px var(--mobile-gutter,18px); width: var(--shell); margin:0 auto; }
  .detail-process-media { min-height: 420px; clip-path: polygon(0 7%,100% 0,100% 100%,0 100%); }
}
@media (max-width: 620px) {
  .site-header .brand-mark { width: 42px; height: 42px; flex-basis:42px; }
  .site-header .brand-top { font-size: 14px; }
  .site-header .brand-name { font-size: 25px; }
  .hero-copy-wrap { min-height: 480px; padding: 58px 0; }
  .hero h1 { font-size: clamp(53px,17vw,73px); }
  .hero-media { min-height: 350px; }
  .subpage-hero h1 { font-size: clamp(43px,13vw,59px); }
  .detail-problems { grid-template-columns: 1fr; }
  .detail-problem, .detail-problem:nth-child(-n+2) { min-height: 0; padding: 23px 0; border: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .detail-story { padding: 76px 0; }
  .detail-story-grid { grid-template-columns: 1fr; gap: 14px; }
  .detail-story-main, .detail-story.is-reversed .detail-story-main { min-height: 320px; }
  .detail-story-detail, .detail-story.is-reversed .detail-story-detail { grid-column: 1; grid-row: 2; min-height: 220px; width: 72%; margin-left: auto; transform: translateY(-42px); }
  .detail-story-copy, .detail-story.is-reversed .detail-story-copy { grid-row: 3; padding-top: 0; }
  .detail-fact-band { padding: 70px 0; }
  .detail-fact-media { min-height: 300px; }
  .detail-scope { padding: 72px 0; }
  .detail-scope-head { align-items: start; flex-direction: column; }
  .detail-scope-rail { grid-template-columns: 1fr 1fr; }
  .detail-scope-item, .detail-scope-item:nth-child(3) { min-height: 185px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .detail-scope-item:nth-child(even) { border-right: 0; }
  .detail-step { grid-template-columns: 45px 1fr; }
  .detail-step p { grid-column: 2; }
  .detail-picture-strip { height: auto; grid-template-columns: 1fr 1fr; }
  .detail-picture-strip figure { min-height: 220px; }
  .detail-picture-strip figure:last-child { grid-column: 1 / -1; border-top: 8px solid var(--white); border-left: 0; }
}
