/* Shared project register and reference pages. */
.reference-study .page-hero__inner { padding-block:clamp(2rem, 4vw, 3.75rem) clamp(1.75rem, 3vw, 3rem); }
.reference-study .page-hero__description { margin-top:1.125rem; }
.reference-study .study-lead {
  padding-bottom:var(--section-space, 4rem);
  background:var(--color-background);
}
.reference-study .study-feature,
.reference-study .study-profile,
.reference-study .study-view:not([hidden]) {
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(0, .85fr);
  align-items:center;
  gap:clamp(2rem, 5vw, 5rem);
}
.reference-study .study-feature,
.reference-study .study-row {
  color:var(--color-heading);
  text-decoration:none;
}
.reference-study .study-screen {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3 / 2;
  object-fit:contain;
  object-position:left top;
  background:var(--color-surface);
}
.projects-overview .project-feature img.original-media--screenshot { object-position:left top; }
.owned-detail__media-grid figure:only-child { grid-column:1 / -1; max-width:53rem; }
.owned-detail__media-grid figure:only-child > img { object-position:left top; }
.reference-study .study-feature__copy,
.reference-study .study-view__copy { max-width:42ch; min-width:0; }
.reference-study .study-feature h2 { margin:0 0 1rem; }
.reference-study .study-feature p:not(.eyebrow),
.reference-study .study-view__copy p { margin:0; line-height:1.7; color:var(--color-text); }
.reference-study .study-feature p.study-feature__scope {
  margin-top:1.25rem;
  color:var(--color-heading);
  font-size:1rem;
  font-weight:600;
}
.reference-study .study-feature__action { margin-top:1.75rem; }
.reference-study .study-feature:is(:hover,:focus-visible) .study-feature__action { background:var(--color-primary-dark); color:white; }
.reference-study a:focus-visible,
.reference-study select:focus-visible { outline:3px solid var(--color-primary); outline-offset:3px; }

.reference-study .study-register__heading {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(13rem, 19rem);
  align-items:end;
  gap:2.5rem;
  margin-bottom:2rem;
}
.reference-study .study-register__heading .section-heading { margin:0; }
.reference-study .study-filter label { display:block; margin-bottom:.5rem; font-weight:600; }
.reference-study .study-filter select {
  width:100%; min-width:0; min-height:48px; padding:.65rem .85rem;
  border:1px solid var(--color-border); border-radius:0;
  color:var(--color-heading); background:var(--color-surface); font:inherit;
}
.reference-study [hidden] { display:none; }
.reference-study .study-register__list { padding:0; margin:0; list-style:none; }
.reference-study .study-register__list > li { margin:0; border-top:1px solid var(--color-border); }
.reference-study .study-register__list > li:last-child { border-bottom:1px solid var(--color-border); }
.reference-study .study-row {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1.15fr) auto;
  align-items:center;
  gap:clamp(1.5rem, 4vw, 4rem);
  padding:clamp(1.25rem, 2.4vw, 2rem) 0;
}
.reference-study .study-row__name > span { display:block; margin-bottom:.45rem; color:var(--color-text); font-size:.94rem; }
.reference-study .study-row h3 { margin:0; color:var(--color-heading); font-size:var(--font-size-h4); line-height:1.32; }
.reference-study .study-row p { max-width:56ch; margin:0; color:var(--color-text); line-height:1.65; }
.reference-study .study-row > .icon { width:1.4rem; height:1.4rem; color:var(--color-primary); }
.reference-study .study-row:is(:hover,:focus-visible) h3 { color:var(--color-primary); text-decoration:underline; text-underline-offset:.17em; }
.reference-study .study-back,
.reference-study .study-link {
  display:inline-flex; align-items:center; gap:.65rem; max-width:100%; min-height:44px;
  color:var(--color-primary); font-weight:600; line-height:1.5; text-decoration:none;
}
.reference-study .study-link .icon,
.reference-study .study-back .icon { width:1.1rem; height:1.1rem; flex:none; }
.reference-study .study-link:is(:hover,:focus-visible),
.reference-study .study-back:is(:hover,:focus-visible) { text-decoration:underline; text-underline-offset:.17em; }
.reference-study .study-register__more { margin-top:1.5rem; }
.reference-study .study-back { margin-bottom:.75rem; }
.reference-study .study-back .icon { transform:rotate(180deg); }

.reference-study .study-capture { min-width:0; margin:0; padding:0; }
.reference-study .study-capture figcaption { margin-top:.55rem; color:var(--color-text); font-size:.9rem; }
.reference-study .study-profile__facts { min-width:0; }
.reference-study .study-logo { display:block; width:4rem; height:auto; margin-bottom:1.5rem; }
.reference-study .study-profile__facts h2 { margin:0 0 1rem; color:var(--color-primary); }
.reference-study .study-profile dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem 1.5rem; margin:0; }
.reference-study .study-profile dt { color:var(--color-text); font-size:.94rem; }
.reference-study .study-profile dd { margin:.2rem 0 0; color:var(--color-heading); font-weight:600; line-height:1.55; }
.reference-study .study-profile__facts > .study-link { margin-top:1.25rem; }

.reference-study .study-tabs { border:0; background:transparent; }
.reference-study .study-tabs__list { width:min(100%, 25rem); grid-template-columns:repeat(3,minmax(0,1fr)); }
.reference-study .study-tabs:not(.is-enhanced) .study-tabs__list { display:none; }
.reference-study .study-tabs__list .ci-tabs__tab {
  justify-content:center; align-items:center; padding:.6rem; min-height:48px; border:0;
  color:var(--color-heading); background:var(--color-surface); font-size:1rem;
}
.reference-study .study-tabs__list .ci-tabs__tab[aria-selected="true"] { background:var(--color-primary); color:white; }
.reference-study .study-view { margin-top:2rem; padding:0; border:0; }
.reference-study .study-view__copy h3 { margin:0 0 1rem; }
.reference-study .study-view__copy p + p { margin-top:1.15rem; }
.reference-study .study-view__copy .study-link { margin-top:1rem; }
.reference-study .editorial-topic > .study-link { margin-top:1rem; }

@media(max-width:900px){
  .reference-study .study-feature,
  .reference-study .study-profile,
  .reference-study .study-view:not([hidden]) { gap:1.75rem; }
  .reference-study .study-register__heading { column-gap:1.5rem; }
}
@media(max-width:759px){
  .reference-study .study-feature,
  .reference-study .study-profile,
  .reference-study .study-view:not([hidden]),
  .reference-study .study-register__heading { grid-template-columns:minmax(0,1fr); }
  .reference-study .study-register__heading { gap:1.25rem; }
  .reference-study .study-feature__copy, .reference-study .study-view__copy { max-width:65ch; }
  .reference-study .study-row { grid-template-columns:minmax(0,1fr) auto; gap:.65rem 1rem; padding-block:1.4rem; }
  .reference-study .study-row p { grid-column:1; }
  .reference-study .study-row > .icon { grid-column:2; grid-row:1 / 3; }
  .reference-study .study-back { margin-bottom:.4rem; }
  .reference-study .study-profile dl { gap:1rem; }
  .reference-study .study-view { margin-top:1.5rem; }
}
@media(max-width:359px){
  .reference-study .study-tabs .ci-tabs__tab { padding-inline:.3rem; white-space:nowrap; }
}
@media(max-width:900px){
  .reference-study .study-profile dl { grid-template-columns:minmax(0,1fr); }
}

.reference-case .page-hero__inner { padding-block:clamp(1.5rem, 4vw, 3.75rem) clamp(1.5rem, 3vw, 2.75rem); }
.reference-case .page-hero__description { max-width:65ch; }
.reference-case .study-back .icon { order:-1; }
.reference-case .study-profile { align-items:start; gap:clamp(1.6rem, 5vw, 4.5rem); }
.reference-case__profile { padding:clamp(1.25rem, 2.4vw, 1.8rem); border:1px solid var(--color-border); }
.reference-case__logo { display:block; width:min(100%, 16rem); height:auto; margin:0 0 .8rem; }
.reference-case .study-profile dl { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.9rem 1.2rem; }
.reference-case .study-profile dl > div:first-child,
.reference-case .study-profile dl > div:last-child:nth-child(even) { grid-column:1 / -1; }
.reference-case--platform .study-profile dl > div:is(:nth-child(2),:nth-child(5)) { grid-column:1 / -1; }
.reference-case .study-profile dd { hyphens:manual; overflow-wrap:anywhere; }
.reference-case .study-profile dd .proper-name { white-space:normal; }
.reference-case__screen { display:block; width:100%; height:auto; border:1px solid var(--color-border); }
.reference-case__overview { border-top:3px solid var(--color-primary); background:var(--color-surface); padding:clamp(1.25rem, 3.8vw, 3.5rem); }
.reference-case__overview h2 { margin:0 0 .85rem; }
.reference-case__overview ul { margin-bottom:0; }
.reference-case__tabs .study-tabs__list { width:fit-content; max-width:100%; display:flex; flex-wrap:wrap; }
.reference-case__tabs .study-tabs__list .ci-tabs__tab { flex:1 0 auto; white-space:normal; padding-inline:1.1rem; }
.reference-case__views .study-view + .study-view:not(.ci-tabs__panel) { border-top:1px solid var(--color-border); padding-top:2rem; margin-top:2rem; }
.reference-case__workflow ol,
.reference-case__result-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1rem, 3vw, 2rem); }
.reference-case__workflow ol { list-style:none; padding:0; margin:0; }
.reference-case__workflow li { margin:0; padding:1.35rem; background:var(--color-surface); border-top:3px solid var(--color-primary); }
.reference-case__result-grid article { border-top:1px solid var(--color-border); padding-top:1.25rem; }
.reference-case__workflow h3, .reference-case__result-grid h3 { margin:0 0 .65rem; }
.reference-case__workflow p, .reference-case__results p { margin:0; }
.reference-case__results .study-link { margin-top:1rem; }
.reference-case__work-grid { display:grid; grid-template-columns:minmax(0, .75fr) minmax(0, 1fr); gap:1.25rem 3rem; }
.reference-case__work-grid ul { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem 1.5rem; }
.reference-case__work-grid ul li { padding:.6rem 0; margin:0; border-bottom:1px solid var(--color-border); }
.reference-case__service-links { display:flex; flex-wrap:wrap; gap:.35rem 1.5rem; margin-top:1.2rem; }
.reference-case--interaction .reference-case__workflow li { border-top:0; border-left:3px solid var(--color-primary); }

@media(max-width:759px){
  .reference-case__workflow ol, .reference-case__result-grid, .reference-case__work-grid { grid-template-columns:minmax(0,1fr); }
  .reference-case__tabs .study-tabs__list .ci-tabs__tab { padding-inline:.7rem; font-size:.94rem; }
  .reference-case__profile { padding:1rem; }
}
@media(max-width:530px){
  .reference-case__work-grid ul { grid-template-columns:minmax(0,1fr); }
}
@media(min-width:760px) and (max-width:1100px){
  .reference-case .study-profile dl { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:359px){
  .reference-case .study-profile dl { grid-template-columns:minmax(0,1fr); }
}
