/* Selected works: editorial typography and fixed four-card desktop pages. */
body.home-page .home-selected {
  --selected-ink: #111;
  --selected-orange: #f33f1b;
  width: min(var(--home-section-width), calc(100% - clamp(48px, 8vw, 132px)));
  margin: 0 auto 104px;
  scroll-margin-top: 130px;
  color: var(--selected-ink);
}
.selected-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 28px;
  align-items: start;
}
body.home-page .selected-heading h2 {
  margin: 0;
  font: 600 clamp(50px, 5.4vw, 86px)/1.02 Arial, sans-serif;
  letter-spacing: -.045em;
  color: var(--selected-ink);
  text-transform: none;
}
.selected-all {
  --selected-link-width: 184px;
  position: relative;
  width: var(--selected-link-width);
  height: 46px;
  overflow: hidden;
  display: inline-flex;
  justify-self: end;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 6px 6px 24px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--selected-orange);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 180ms ease;
}
.selected-all-label {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 440ms cubic-bezier(.2, .8, .2, 1);
}
.selected-all .selected-all-icon {
  position: absolute;
  right: 6px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--selected-orange);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 440ms cubic-bezier(.2, .8, .2, 1);
}
.selected-all:hover { background: #c92c10; }
.selected-all:hover .selected-all-label,
.selected-all:focus-visible .selected-all-label {
  transform: translate(28px, -50%);
}
.selected-all:hover .selected-all-icon,
.selected-all:focus-visible .selected-all-icon {
  transform: translate(calc(46px - var(--selected-link-width)), -50%);
}
.selected-subtitle {
  grid-column: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.5;
}
.selected-subtitle span {
  display: inline-block;
  margin-left: 12px;
  font: 500 10px/1.5 Arial, sans-serif;
  color: #c92c10;
}
.selected-heading-line {
  grid-column: 1;
  align-self: end;
  border-bottom: 2px solid var(--selected-ink);
  margin-bottom: 10px;
}
.selected-signature {
  grid-column: 2;
  grid-row: 2 / 4;
  margin: 0;
  text-align: right;
  font: 600 clamp(44px, 5.4vw, 86px)/1.05 Arial, sans-serif;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.selected-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 20px;
}
.selected-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.selected-filters button {
  appearance: none;
  border: 1px solid var(--selected-ink);
  border-radius: 999px;
  padding: 5px 18px;
  min-height: 32px;
  background: #fff;
  color: var(--selected-ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
.selected-filters button[aria-pressed="true"] { background: var(--selected-ink); color: #fff; }
.selected-filters button:hover:not([aria-pressed="true"]) { background: #ededed; }
.selected-count { margin: 0; font-size: 13px; color: #646464; white-space: nowrap; }
.selected-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  min-height: 0;
}
.selected-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  min-width: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 22px;
  background: #151515;
  color: #fff;
  text-decoration: none;
}
.selected-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}
.selected-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.15) 42%, rgba(0,0,0,.88) 73%, #080808 100%);
}
.selected-card-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font: 25px/1 Arial, sans-serif;
  transition: background 180ms ease, color 180ms ease;
}
.selected-card-meta { position: absolute; inset: auto 20px 20px; z-index: 2; }
.selected-card-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 9px; }
.selected-card-tags span {
  padding: 3px 7px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 5px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}
body.home-page .selected-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(19px, 1.75vw, 29px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.selected-card-description { margin: 0 0 12px; color: #f0f0f0; font-size: 13px; line-height: 1.55; }
.selected-card-role { margin: 0; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.25); color: #dedede; font-size: 11px; line-height: 1.6; }
.selected-card:hover > img { transform: scale(1.035); }
.selected-card:hover .selected-card-arrow { background: var(--selected-orange); color: #fff; }
.selected-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.selected-status { margin: 0; color: #626262; font-size: 13px; }
.selected-pagination { display: flex; align-items: center; gap: 8px; }
.selected-page { margin-right: 14px; font: 13px/1.4 Arial, sans-serif; font-variant-numeric: tabular-nums; color: #555; white-space: nowrap; }
.selected-pagination button {
  display: grid; place-items: center; width: 42px; height: 36px;
  border: 1px solid #111; border-radius: 999px; background: #fff; color: #111; cursor: pointer;
}
.selected-pagination .selected-next { width: 64px; background: #111; color: #fff; }
.selected-pagination button:disabled { opacity: .3; cursor: default; }
.selected-pagination svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.home-selected a:focus-visible, .home-selected button:focus-visible { outline: 3px solid var(--selected-orange); outline-offset: 5px; }
@media (min-width: 761px) {
  body.home-page .about-capability-row {
    width: min(var(--home-section-width), calc(100% - clamp(48px, 8vw, 132px))) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
  body.home-page .home-about-site {
    min-height: 210px !important;
    margin: 68px auto 68px !important;
    padding: 36px 48px !important;
    grid-template-columns: minmax(0, 1fr) 180px !important;
    column-gap: 36px !important;
    row-gap: 16px !important;
    border-radius: 26px !important;
  }
  body.home-page .home-about-site-title { font-size: clamp(30px, 3vw, 44px) !important; }
  body.home-page .home-about-site-heading { gap: 20px !important; }
  body.home-page .home-about-site-content { max-width: 750px !important; }
  body.home-page .home-about-site-content p { font-size: 15px !important; line-height: 1.8 !important; }
  body.home-page .home-about-site-logo-stage { width: 180px !important; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .selected-heading { gap: 8px 18px; }
  .selected-heading h2 { font-size: 52px !important; }
  .selected-signature { font-size: 50px; }
  .selected-all { font-size: 14px; gap: 12px; padding-left: 16px; }
  .selected-grid { gap: 14px; }
  .selected-card-meta { inset: auto 12px 14px; }
  .selected-card-description { font-size: 12px; }
  .selected-card-role { font-size: 10px; }
}
/* Basic fallback only; this iteration focuses on desktop. */
@media (max-width: 760px) {
  body.home-page .home-selected { width: calc(100% - 32px); margin-bottom: 56px; }
  .selected-heading { grid-template-columns: 1fr; gap: 12px; }
  .selected-heading h2 { font-size: 42px !important; }
  .selected-signature { grid-column: 1; grid-row: auto; font-size: 40px; }
  .selected-subtitle { font-size: 16px; }
  .selected-all { grid-row: 4; justify-self: start; }
  .selected-heading-line { display: none; }
  .selected-toolbar { flex-wrap: wrap; }
  .selected-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .selected-card { aspect-ratio: 3 / 5; border-radius: 14px; }
  .selected-card-meta { inset: auto 12px 14px; }
  .selected-card-role { font-size: 10px; }
  .selected-footer { align-items: flex-start; }
  .selected-status { max-width: 50%; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .selected-all-label, .selected-all-icon { transition: none; }
  .selected-card > img, .selected-card-arrow, .selected-all, .selected-filters button { transition: none; }
  .selected-card:hover > img { transform: none; }
}
