.hero-cycle-count {
  margin-top: 15px;
  color: #d7e5e5;
  font-size: 15px;
  line-height: 1.35;
}
.hero-cycle-count strong { margin-right: 4px; color: #ffd094; font-size: 21px; font-weight: 800; white-space: nowrap; }
.case-heading .case-switcher { flex: 0 0 auto; max-width: 100%; }

.sector-gallery { background: #e7eeea; border-block: 1px solid #d5dfd9; }
.sector-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(20px, 4vw, 62px);
  align-items: end;
  margin-bottom: clamp(22px, 4vw, 46px);
}
.sector-heading h2 { font-size: clamp(36px, 5vw, 72px); max-width: 14ch; }
.sector-heading p { max-width: 32ch; color: var(--quiet); font-size: clamp(17px, 1.52vw, 21px); line-height: 1.45; }
.sector-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid #bccdc6;
}
.sector-picker button, .sector-object-picker button {
  min-height: 46px;
  border: 1px solid #aebfb7;
  border-radius: 4px;
  padding: 8px 13px;
  background: #f8faf8;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
}
.sector-picker button:hover, .sector-object-picker button:hover { border-color: var(--red-hover); }
.sector-picker button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sector-object-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block: 14px;
}
.sector-object-picker button[aria-pressed='true'] {
  background: #fff;
  border-color: var(--red);
  box-shadow: inset 0 -2px var(--red);
}
.sector-group-title { margin: 22px 0 12px; font-size: 23px; line-height: 1.15; }
.sector-gallery[data-interactive] .sector-group-title { position: absolute; clip-path: inset(50%); overflow: hidden; width: 1px; height: 1px; }
.sector-group > .sector-project { margin-top: 14px; }
.sector-project {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  min-width: 0;
  border-radius: 7px;
  overflow: hidden;
  background: #122831;
  color: white;
}
.sector-photo { display: grid; grid-template-rows: minmax(290px, 1fr) auto; min-width: 0; align-self: stretch; background: #18343e; }
.sector-photo-stage { position: relative; min-width: 0; background: #19333b; }
.sector-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sector-frame.sector-contain { object-fit: contain; }
.sector-photo-controls {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 5px;
  margin: 4px;
  padding: 4px;
  border-radius: 5px;
  background: #132029ed;
}
.sector-photo-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #bdcecfab;
  border-radius: 3px;
  color: #fff;
  background: #18343e;
}
.sector-photo-controls button:hover { background: #fff; color: var(--ink); }
.sector-photo-controls .sector-photo-thumbnail { width: clamp(45px, 5vw, 66px); overflow: hidden; padding: 2px; }
.sector-photo-thumbnail img { width: 100%; height: 100%; border-radius: 2px; object-fit: cover; }
.sector-photo-thumbnail[aria-pressed='true'] { border-color: #fff; outline: 1px solid #fff; background: #fff; }
.sector-photo-number { position: absolute; clip-path: inset(50%); overflow: hidden; width: 1px; height: 1px; }
.sector-project-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(24px, 3.8vw, 56px);
}
.sector-project-copy h4 { margin: 0; font-size: clamp(31px, 3.8vw, 57px); font-weight: 770; letter-spacing: -.042em; line-height: 1.08; }
.sector-address { margin-top: 13px; color: #c4d6db; font-size: 15px; line-height: 1.4; }
.sector-summary { margin-top: 17px; color: #f5f8f6; font-size: clamp(17px, 1.48vw, 21px); line-height: 1.45; }
.sector-work { margin-top: 15px; padding-left: 13px; border-left: 2px solid #f86488; color: #deedeb; font-size: 17px; line-height: 1.5; }
.sector-enquire { margin-top: 25px; min-height: 64px; background: #d2103e; }
.sector-project :focus-visible { outline-color: #fff; outline-offset: 3px; }
.sector-credits { margin-top: 12px; color: var(--quiet); font-size: 15px; }
.sector-credits summary { width: fit-content; padding-block: 8px; cursor: pointer; }
.sector-credits ul { margin-block: 5px 0; padding-left: 22px; }
.sector-credits a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1150px) {
  .sector-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 970px) {
  .case-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .sector-heading { grid-template-columns: 1fr; align-items: start; gap: 13px; }
  .sector-heading h2, .sector-heading p { max-width: none; }
  .sector-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 12px; }
  .sector-picker button:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .sector-picker button, .sector-object-picker button { font-size: 14px; padding-inline: 8px; overflow-wrap: anywhere; }
  .sector-project { grid-template-columns: minmax(0, 1fr); }
  .sector-photo { grid-template-rows: auto auto; }
  .sector-photo-stage { aspect-ratio: 1.58; }
  .sector-enquire { width: 100%; gap: 11px; font-size: 16px; }
}
@media (max-width: 365px) {
  .header .brand img { width: 115px; }
  .header .header-email { white-space: nowrap; }
  .sector-project-copy { padding: 18px; }
  .sector-object-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-photo-controls:has([data-sector-photo-index='3']) { gap: 2px; margin-inline: 2px; padding-inline: 2px; }
}
