.case-page {
  --case-navy: #0f1432;
  --case-navy-soft: #171d42;
  --case-signal: #33406b;
  --case-muted: #646a75;
  --case-muted-inverse: #a8b3d3;
  --case-line: #dfe2e8;
  --case-subtle: #f6f7fb;
  --case-mobile-subtle: #f6f8fc;
  background: #ffffff;
  color: var(--case-navy);
  font-family: "Instrument Sans", sans-serif;
}

.case-page main {
  width: 100%;
  overflow: clip;
}

.case-page h1,
.case-page h2,
.case-page h3,
.case-page h4,
.case-page p,
.case-page blockquote {
  margin: 0;
}

.case-page main button,
.case-page input,
.case-page select,
.case-page textarea {
  font: inherit;
}

.case-page .desktop-nav a[aria-current="page"] {
  color: var(--case-signal);
  box-shadow: inset 0 -2px 0 var(--case-signal);
}

.case-page .mobile-nav a[aria-current="page"] {
  color: var(--case-signal);
}

.mobile-label { display: none; }

.case-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: currentColor;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1.1px;
}

.case-eyebrow > span {
  width: 28px;
  height: 2px;
  flex: 0 0 28px;
  background: currentColor;
}

/* Case studies list */
.case-list-hero {
  height: 480px;
  padding: 0 max(24px, calc(50vw - 640px));
  display: flex;
  align-items: center;
  background: #ffffff;
}

.case-list-hero h1 {
  width: 1280px;
  max-width: 100%;
  font-size: 88px;
  font-weight: 600;
  line-height: 92px;
  letter-spacing: -2.4px;
}

.case-filter {
  padding: 36px max(24px, calc(50vw - 640px));
  border-top: 1px solid var(--case-line);
  border-bottom: 1px solid var(--case-line);
  background: #ffffff;
}

.case-filter-inner {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.6px;
}

.case-filter-head b { font-weight: 500; }
.case-filter-head span { color: var(--case-muted); }

.case-filter-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.case-filter-capabilities,
.case-filter-secondary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.case-filter-capabilities > button,
.case-filter-menu > button {
  min-height: 42px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--case-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--case-navy);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.case-filter-capabilities > button:nth-child(1) { min-width: 150px; }
.case-filter-capabilities > button:nth-child(2) { min-width: 206px; }
.case-filter-capabilities > button:nth-child(3) { min-width: 122px; }
.case-filter-capabilities > button:nth-child(4) { min-width: 176px; }

.case-filter-capabilities > button:hover,
.case-filter-capabilities > button:focus-visible,
.case-filter-menu > button:hover,
.case-filter-menu > button:focus-visible {
  border-color: #a8b3d3;
  background: var(--case-subtle);
}

.case-filter-capabilities > button.is-active {
  border-color: var(--case-navy);
  background: var(--case-navy);
  color: #ffffff;
}

.case-filter-menu {
  position: relative;
}

.case-filter-menu > button[aria-expanded="true"] {
  border-color: var(--case-signal);
  background: var(--case-subtle);
}

.case-filter-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--case-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 20, 50, 0.14);
}

.case-filter-popover button {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: var(--case-navy);
  font-size: 13px;
  text-align: left;
}

.case-filter-popover button:hover,
.case-filter-popover button:focus-visible { background: var(--case-subtle); }

.case-featured,
.case-selected,
.case-capabilities {
  padding-right: max(24px, calc(50vw - 640px));
  padding-left: max(24px, calc(50vw - 640px));
}

.case-featured {
  padding-top: 120px;
  padding-bottom: 120px;
  background: var(--case-subtle);
}

.case-selected {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #ffffff;
}

.case-capabilities {
  padding-top: 112px;
  padding-bottom: 112px;
  background: var(--case-subtle);
}

.case-section-head {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 400px;
  justify-content: space-between;
  gap: 80px;
}

.case-section-head > div {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case-section-head h2 {
  font-size: 56px;
  font-weight: 600;
  line-height: 62px;
  letter-spacing: -1.2px;
}

.case-section-head > p {
  color: var(--case-muted);
  font-size: 18px;
  line-height: 29px;
}

.case-project-list {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-project {
  width: 1280px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--case-line);
  border-radius: 12px;
  background: #ffffff;
  transition:
    border-color 280ms var(--motion-ease),
    box-shadow 340ms var(--motion-ease),
    transform 420ms var(--motion-ease);
}

.case-project[hidden] { display: none !important; }

.case-project > a {
  min-height: 664px;
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  color: inherit;
  text-decoration: none;
}

.case-project:hover,
.case-project:focus-within {
  border-color: #a8b3d3;
  box-shadow: 0 20px 44px rgba(15, 20, 50, 0.11);
  transform: translate3d(0, -4px, 0);
}

.case-project-visual {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #e8ecf7;
}

.case-project.is-image-left .case-project-visual {
  grid-column: 1;
}

.case-project.is-image-left .case-project-content {
  grid-column: 2;
}

.case-project-visual img {
  width: 299px;
  height: 299px;
  transition: transform 720ms var(--motion-ease);
}

.case-project:hover .case-project-visual img,
.case-project:focus-within .case-project-visual img { transform: scale(1.035); }

.case-project-content {
  grid-column: 1;
  grid-row: 1;
  width: 560px;
  min-height: 664px;
  padding: 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
}

.case-project-featured {
  margin: 0 auto;
}

.case-project-featured > a {
  min-height: 560px;
  grid-template-columns: 520px minmax(0, 1fr);
}

.case-project-featured .case-project-content {
  width: 520px;
  min-height: 560px;
  padding: 48px;
  gap: 28px;
}

.case-project-meta {
  color: var(--case-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.6px;
}

.case-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-project-tags span {
  padding: 8px 13px;
  border: 1px solid var(--case-line);
  border-radius: 999px;
  color: var(--case-navy);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.6px;
}

.case-project h3 {
  font-size: 40px;
  font-weight: 600;
  line-height: 46px;
  letter-spacing: -0.8px;
}

.case-project-featured h3 {
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.8px;
}

.case-project-description {
  color: var(--case-muted);
  font-size: 18px;
  line-height: 29px;
}

.case-project-outcome {
  width: 100%;
  margin-top: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--case-line);
  border-radius: 10px;
  background: var(--case-subtle);
}

.case-project-featured .case-project-outcome {
  padding: 20px;
  gap: 12px;
}

.case-project-outcome b {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.68px;
}

.case-project-outcome p {
  font-size: 14px;
  line-height: 22px;
}

.case-project-featured .case-project-outcome p {
  font-size: 16px;
  line-height: 24px;
}

.case-project-cta {
  width: 100%;
  min-height: 44px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid transparent;
  font-size: 14px;
  line-height: 20px;
}

.case-project-cta b { font-weight: 600; }
.case-project-cta i { color: var(--case-muted); font-style: normal; }

.case-project:hover .case-project-cta i,
.case-project:focus-within .case-project-cta i { transform: translate3d(4px, 0, 0); }

.case-more {
  width: 1280px;
  max-width: 100%;
  margin: 40px auto 0;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.6px;
}

.case-more p { color: var(--case-muted); }
.case-more a { min-width: 230px; padding: 10px 0; display: flex; justify-content: space-between; color: var(--case-navy); text-decoration: none; }
.case-more a:hover, .case-more a:focus-visible { color: var(--case-signal); transform: translate3d(4px, 0, 0); }

.case-empty {
  width: 1280px;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 40px;
  border: 1px dashed var(--case-line);
  border-radius: 12px;
  color: var(--case-muted);
  text-align: center;
}

.case-capability-grid {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-capability-card {
  min-height: 306px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--case-line);
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 280ms var(--motion-ease), box-shadow 320ms var(--motion-ease), transform 380ms var(--motion-ease);
}

.case-capability-card:hover,
.case-capability-card:focus-within {
  border-color: #a8b3d3;
  box-shadow: 0 16px 34px rgba(15, 20, 50, 0.08);
  transform: translate3d(0, -3px, 0);
}

.case-capability-card > span {
  color: var(--case-muted);
  font-size: 13px;
  line-height: 20px;
}

.case-capability-card h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 1px;
}

.case-capability-card > p {
  color: var(--case-muted);
  font-size: 18px;
  line-height: 29px;
}

.case-capability-card > a {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--case-navy);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.case-capability-card > a b { font-weight: 600; }
.case-capability-card > a i { color: var(--case-muted); font-style: normal; }
.case-capability-card > a:hover, .case-capability-card > a:focus-visible { color: var(--case-signal); }

/* Shared consultation */
.case-consultation {
  padding: 120px max(24px, calc(50vw - 640px));
  background: var(--case-subtle);
}

.case-consultation-inner {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 32px;
  display: grid;
  grid-template-columns: 524px minmax(0, 679px);
  justify-content: space-between;
  gap: 56px;
}

.case-consultation-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.case-consultation-copy h2 {
  font-size: 56px;
  font-weight: 600;
  line-height: 62px;
  letter-spacing: -1.2px;
}

.case-consultation-copy > p:not(.case-eyebrow) {
  color: var(--case-muted);
  font-size: 18px;
  line-height: 29px;
}

.case-consultation-path {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
}

.case-consultation-path::before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 17px;
  width: 1px;
  background: var(--case-line);
}

.case-consultation-path li {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.case-consultation-path li > span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--case-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--case-muted);
  font-size: 11px;
  font-weight: 600;
}

.case-consultation-path b {
  display: block;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.9px;
}

.case-consultation-path p {
  margin-top: 2px;
  color: var(--case-muted);
  font-size: 14px;
  line-height: 22px;
}

.case-form-shell {
  min-height: 820px;
  border-radius: 24px;
  background: #ffffff;
}

.case-form,
.case-form-success {
  width: 100%;
  min-height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.case-form-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.6px;
}

.case-form-meta b { font-weight: 500; }
.case-form-meta span { color: var(--case-muted); }

.case-form h3,
.case-form-success h3 {
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: -1.5px;
}

.case-form > p,
.case-form-success p {
  margin-top: -12px;
  color: var(--case-muted);
  font-size: 16px;
  line-height: 24px;
}

.case-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 15px;
}

.case-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--case-navy);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.6px;
}

.case-form input,
.case-form select,
.case-form textarea {
  width: 100%;
  height: 60px;
  padding: 0 16px;
  border: 1px solid var(--case-line);
  border-radius: 12px;
  outline: 0;
  background: #ffffff;
  color: var(--case-navy);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  transition: border-color 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease);
}

.case-form textarea {
  height: 112px;
  padding-top: 14px;
  resize: vertical;
}

.case-form input::placeholder,
.case-form textarea::placeholder { color: var(--case-muted); opacity: 1; }

.case-form input:focus,
.case-form select:focus,
.case-form textarea:focus {
  border-color: var(--case-signal);
  box-shadow: 0 0 0 3px rgba(51, 64, 107, 0.1);
}

.case-form .button,
.case-form-success .button {
  align-self: flex-start;
  min-height: 48px;
  padding: 14px 20px 14px 22px;
}

.case-form > small,
.case-form-success > small {
  color: var(--case-muted);
  font-size: 12px;
  line-height: 18px;
}

.case-form-success {
  justify-content: center;
}

/* Case study detail */
.detail-hero,
.detail-snapshot,
.detail-primary-visual,
.detail-section,
.detail-quote,
.detail-project-nav {
  padding-right: max(24px, calc(50vw - 640px));
  padding-left: max(24px, calc(50vw - 640px));
}

.detail-hero {
  padding-top: 104px;
  padding-bottom: 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  border-bottom: 1px solid var(--case-line);
  background: #ffffff;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--case-navy);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.detail-back span { width: 22px; font-size: 18px; }
.detail-back:hover, .detail-back:focus-visible { color: var(--case-signal); transform: translate3d(-4px, 0, 0); }

.detail-hero h1 {
  width: 1280px;
  max-width: 100%;
  font-size: 88px;
  font-weight: 600;
  line-height: 92px;
  letter-spacing: -2.5px;
}

.detail-hero > p {
  width: 1280px;
  max-width: 100%;
  color: var(--case-muted);
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -0.2px;
}

.detail-hero-image,
.detail-hero-image img {
  width: 1280px;
  max-width: 100%;
  height: 600px;
  display: block;
}

.detail-snapshot {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: #ffffff;
}

.detail-snapshot-head {
  width: 1280px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid #dbe0eb;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1.2px;
}

.detail-snapshot-head span { color: var(--case-muted); letter-spacing: 0.8px; }

.detail-snapshot-grid {
  width: 1280px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.detail-snapshot-grid > div {
  min-width: 0;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-snapshot-grid b {
  color: var(--case-muted);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 1px;
}

.detail-snapshot-grid p {
  font-size: 16px;
  font-weight: 600;
  line-height: 23px;
}

.detail-primary-visual {
  padding-top: 96px;
  padding-bottom: 112px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--case-subtle);
}

.detail-primary-meta {
  width: 1280px;
  max-width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.detail-primary-meta b {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 1.2px;
}

.detail-primary-meta p {
  width: 520px;
  color: var(--case-muted);
  font-size: 15px;
  line-height: 22px;
}

.detail-primary-visual picture,
.detail-primary-visual picture img {
  width: 1280px;
  max-width: 100%;
  height: 720px;
  display: block;
}

.detail-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #ffffff;
}

.detail-section-head {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 400px;
  justify-content: space-between;
  align-items: start;
  gap: 80px;
}

.detail-section-head > div {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.detail-section-head h2 {
  font-size: 56px;
  font-weight: 600;
  line-height: 62px;
  letter-spacing: -1.3px;
}

.detail-section-head > p {
  color: var(--case-muted);
  font-size: 18px;
  line-height: 29px;
}

.detail-overview-grid {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-overview-grid article {
  padding: 32px 36px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--case-line);
}

.detail-overview-grid span,
.detail-overview-grid b {
  color: var(--case-muted);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 1px;
}

.detail-overview-grid b { color: var(--case-navy); }
.detail-overview-grid p { color: var(--case-muted); font-size: 22px; line-height: 34px; letter-spacing: -0.1px; }

.detail-challenge,
.detail-architecture,
.detail-gallery,
.detail-delivered { background: var(--case-subtle); }

.detail-four-grid,
.detail-five-grid,
.detail-module-grid {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.detail-four-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detail-five-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }

.detail-signal-card,
.detail-dark-card,
.detail-module-card {
  min-width: 0;
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--case-line);
  border-radius: 10px;
  background: #ffffff;
}

.detail-signal-card > span,
.detail-dark-card > span {
  color: var(--case-muted);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 1px;
}

.detail-signal-card > b,
.detail-dark-card > b,
.detail-module-card > b {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 1px;
}

.detail-signal-card > p,
.detail-dark-card > p,
.detail-module-card > p {
  color: var(--case-muted);
  font-size: 18px;
  line-height: 29px;
}

.detail-signal-card > i,
.detail-dark-card > i,
.detail-module-card > em {
  width: 42px;
  height: 3px;
  margin-top: auto;
  display: block;
  border-radius: 2px;
  background: var(--case-navy);
}

.detail-dark {
  background: var(--case-navy);
  color: #ffffff;
}

.detail-dark .detail-section-head > p,
.detail-dark-card > p { color: var(--case-muted-inverse); }

.detail-dark-card {
  min-height: 324px;
  padding: 26px 24px;
  border-color: var(--case-signal);
  background: var(--case-navy-soft);
}

.detail-dark-card > i {
  width: 34px;
  height: 2px;
  margin-top: 0;
  background: #ffffff;
}

.detail-dark-card > span { color: var(--case-muted-inverse); }

.detail-architecture-grid {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 760px minmax(0, 496px);
  gap: 24px;
}

.detail-system {
  min-height: 612px;
  padding: 42px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 12px;
  background: var(--case-navy);
  color: #ffffff;
}

.detail-system > b {
  margin-bottom: 2px;
  color: var(--case-muted-inverse);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 1.2px;
}

.detail-system article {
  min-height: 82px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--case-signal);
  border-radius: 8px;
  background: var(--case-navy-soft);
}

.detail-system article > span {
  color: var(--case-muted-inverse);
  font-size: 12px;
  line-height: 18px;
}

.detail-system article > div { display: flex; flex-direction: column; gap: 4px; }
.detail-system article b { font-size: 13px; line-height: 20px; letter-spacing: 0.8px; }
.detail-system article p { color: var(--case-muted-inverse); font-size: 14px; line-height: 22px; }

.detail-architecture-notes { display: flex; flex-direction: column; gap: 16px; }
.detail-architecture-notes .detail-signal-card { min-height: 193px; padding: 28px 30px; gap: 18px; }
.detail-architecture-notes .detail-signal-card > p { font-size: 16px; line-height: 24px; }

.detail-modules { background: #ffffff; }
.detail-module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.detail-module-card {
  min-height: 286px;
}

.detail-module-card > div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-module-card > div span { color: var(--case-muted); font-size: 13px; line-height: 20px; }
.detail-module-card > div i { width: 40px; height: 40px; display: block; border-radius: 8px; background: var(--case-subtle); }

.detail-gallery-grid {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 848px minmax(0, 416px);
  gap: 16px;
}

.detail-gallery-grid picture,
.detail-gallery-grid img { width: 100%; display: block; }
.detail-gallery-primary, .detail-gallery-primary img { height: 560px; }
.detail-gallery-grid > div { display: flex; flex-direction: column; gap: 16px; }
.detail-gallery-grid > div picture, .detail-gallery-grid > div img { height: 272px; }

.detail-gallery-caption {
  width: 1280px;
  max-width: 100%;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  color: var(--case-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1px;
}

.detail-gallery-caption b { color: var(--case-navy); }

.detail-impact .detail-dark-card { min-height: 300px; padding: 28px; gap: 22px; }
.detail-impact .detail-dark-card > i { width: 42px; height: 3px; margin-top: auto; }

.detail-impact-note {
  width: 1280px;
  max-width: 100%;
  margin: 42px auto 0;
  padding-top: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  border-top: 1px solid var(--case-signal);
}

.detail-impact-note b { font-size: 12px; line-height: 18px; letter-spacing: 1px; }
.detail-impact-note p { width: 720px; color: var(--case-muted-inverse); font-size: 14px; line-height: 22px; }

.detail-quote {
  padding-top: 120px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 54px;
  background: #ffffff;
}

.detail-quote-top {
  width: 1280px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.detail-quote-top > span {
  color: var(--case-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1px;
}

.detail-quote blockquote {
  width: 1180px;
  max-width: 100%;
  font-size: 56px;
  font-weight: 600;
  line-height: 66px;
  letter-spacing: -1.4px;
}

.detail-quote-attribution { display: flex; flex-direction: column; gap: 8px; }
.detail-quote-attribution b { font-size: 13px; line-height: 20px; letter-spacing: 1px; }
.detail-quote-attribution p { color: var(--case-muted); font-size: 14px; line-height: 22px; }

.detail-delivered-grid {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-delivered-grid > div { display: flex; flex-direction: column; gap: 12px; }
.detail-delivered-grid article { min-height: 86px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--case-line); border-radius: 8px; background: #ffffff; }
.detail-delivered-grid span { color: var(--case-muted); font-size: 13px; line-height: 20px; }
.detail-delivered-grid b { font-size: 16px; font-weight: 600; line-height: 24px; }

.detail-project-nav {
  padding-top: 120px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: #ffffff;
}

.detail-project-nav > div {
  width: 1280px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-project-nav > div > a {
  min-height: 236px;
  padding: 28px;
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--case-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--case-navy);
  text-decoration: none;
}

.detail-project-nav > div > a:hover,
.detail-project-nav > div > a:focus-visible { border-color: #a8b3d3; box-shadow: 0 14px 30px rgba(15, 20, 50, 0.08); transform: translate3d(0, -3px, 0); }
.detail-project-nav > div > a:first-child { grid-template-columns: 24px 156px minmax(0, 1fr); }
.detail-project-nav > div > a:first-child > i { order: -1; }
.detail-project-nav picture, .detail-project-nav img { width: 156px; height: 118px; display: block; }
.detail-project-nav a > span { display: flex; flex-direction: column; gap: 14px; }
.detail-project-nav small { color: var(--case-muted); font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.8px; }
.detail-project-nav a b { font-size: 24px; line-height: 30px; }
.detail-project-nav a em { color: var(--case-muted); font-size: 11px; font-style: normal; font-weight: 600; line-height: 16px; letter-spacing: 0.6px; }
.detail-project-nav a > i { color: var(--case-muted); font-style: normal; font-size: 18px; }

/* Viewport reveal — mirrors the Home timing and easing. */
.case-reveal.reveal-ready {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  will-change: opacity, transform;
  transition:
    opacity 650ms var(--motion-ease) var(--case-reveal-delay, 0ms),
    transform 740ms var(--motion-ease) var(--case-reveal-delay, 0ms);
}

.case-reveal.reveal-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 767px) {
  .desktop-label,
  .desktop-only { display: none; }
  .mobile-label { display: inline; }

  .case-page main { overflow: hidden; }
  .case-page .header { border-bottom: 0; }

  .case-eyebrow {
    gap: 12px;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 1.2px;
  }

  .case-eyebrow > span { width: 24px; flex-basis: 24px; }

  .case-list-hero {
    height: auto;
    padding: 72px 20px;
    align-items: flex-start;
  }

  .case-list-hero h1 {
    width: 350px;
    font-size: 48px;
    line-height: 50px;
    letter-spacing: -1.2px;
  }

  .case-filter {
    padding: 32px 20px;
    border-top: 0;
  }

  .case-filter-inner { width: 350px; gap: 20px; }
  .case-filter-head { font-size: 11px; line-height: 16px; letter-spacing: 0.7px; }
  .case-filter-head span { font-size: 0; }
  .case-filter-head span::after { content: attr(data-mobile-count); font-size: 11px; }

  .case-filter-controls { align-items: flex-start; flex-direction: column; gap: 8px; }
  .case-filter-capabilities { width: 350px; display: grid; grid-template-columns: 136px 106px; gap: 8px; justify-content: start; }
  .case-filter-capabilities > button { min-width: 0 !important; min-height: 36px; height: 36px; padding: 0 14px; font-size: 12px; line-height: 16px; }
  .case-filter-capabilities > button:nth-child(2) { grid-row: 2; width: 132px; }
  .case-filter-capabilities > button:nth-child(3) { grid-column: 2; grid-row: 1; width: 106px; }
  .case-filter-capabilities > button:nth-child(4) { grid-column: 2; grid-row: 2; width: 170px; }
  .case-filter-secondary { gap: 8px; }
  .case-filter-menu > button { min-height: 36px; height: 36px; padding: 0 14px; font-size: 12px; }
  .case-filter-popover { right: auto; left: 0; }

  .case-featured,
  .case-selected,
  .case-capabilities {
    padding-right: 20px;
    padding-left: 20px;
  }

  .case-featured { padding-top: 64px; padding-bottom: 72px; }
  .case-selected { padding-top: 64px; padding-bottom: 72px; }
  .case-capabilities { padding-top: 64px; padding-bottom: 72px; }

  .case-section-head {
    width: 350px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .case-section-head > div { gap: 24px; }
  .case-section-head h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.8px; }
  .case-section-head > p { font-size: 16px; line-height: 24px; }

  .case-project-list { width: 350px; gap: 24px; }
  .case-project { width: 350px; }
  .case-project > a,
  .case-project-featured > a { min-height: 0; display: flex; flex-direction: column; }

  .case-project-visual,
  .case-project.is-image-left .case-project-visual {
    order: 0;
    width: 100%;
    height: 386px;
    min-height: 386px;
    border-radius: 24px;
  }

  .case-project-visual img { width: 144px; height: 144px; }

  .case-project-content,
  .case-project-featured .case-project-content,
  .case-project.is-image-left .case-project-content {
    order: 1;
    width: 350px;
    min-height: 0;
    padding: 24px;
    gap: 16px;
  }

  .case-project-meta { font-size: 11px; line-height: 16px; }
  .case-project-tags { gap: 0; color: var(--case-navy); font-size: 10px; font-weight: 600; line-height: 16px; letter-spacing: 0.8px; }
  .case-project-tags span { padding: 0; border: 0; border-radius: 0; font-size: inherit; line-height: inherit; letter-spacing: inherit; }
  .case-project-tags span + span::before { content: " · "; margin: 0 5px; color: var(--case-muted); }
  .case-project h3,
  .case-project-featured h3 { font-size: 28px; line-height: 32px; letter-spacing: -0.4px; }
  .case-project-description { font-size: 16px; line-height: 24px; }
  .case-project-outcome,
  .case-project-featured .case-project-outcome { margin-top: 0; padding: 14px 16px; gap: 6px; border: 0; border-radius: 8px; }
  .case-project-outcome b { color: var(--case-muted); font-size: 10px; line-height: 14px; letter-spacing: 0.9px; }
  .case-project-outcome p,
  .case-project-featured .case-project-outcome p { font-size: 13px; font-weight: 500; line-height: 19px; }
  .case-project-cta { min-height: 40px; height: 40px; padding: 16px 0 0; border-top-color: var(--case-line); font-size: 13px; }

  .case-more { width: 350px; min-height: 48px; margin-top: 24px; padding: 0; font-size: 11px; line-height: 16px; }
  .case-more p { width: 190px; }
  .case-more a { min-width: 76px; padding: 8px 0; justify-content: flex-end; }

  .case-capability-grid { width: 350px; display: flex; flex-direction: column; gap: 16px; }
  .case-capability-card { min-height: 254px; padding: 24px; gap: 16px; }
  .case-capability-card > span { font-size: 11px; line-height: 16px; }
  .case-capability-card h3 { font-size: 11px; line-height: 16px; letter-spacing: 0.9px; }
  .case-capability-card > p { font-size: 16px; line-height: 24px; }
  .case-capability-card > a { min-height: 40px; padding: 10px 0; font-size: 13px; }

  .case-consultation { padding: 72px 20px; }
  .case-consultation-inner { width: 350px; padding-top: 0; display: flex; flex-direction: column; gap: 28px; }
  .case-consultation-copy { gap: 24px; }
  .case-consultation-copy h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.8px; }
  .case-consultation-copy > p:not(.case-eyebrow) { font-size: 16px; line-height: 24px; }
  .case-consultation-path { gap: 14px; }
  .case-consultation-path li { gap: 12px; }
  .case-consultation-path::before { left: 16.5px; }
  .case-consultation-path li > span { width: 34px; height: 34px; flex-basis: 34px; }

  .case-form-shell { min-height: 0; border-radius: 16px; }
  .case-form,
  .case-form-success { padding: 28px 24px; gap: 18px; }
  .case-form-meta { min-height: 40px; font-size: 11px; line-height: 16px; letter-spacing: 0.6px; }
  .case-form-meta b { width: 190px; }
  .case-form-meta span { width: 90px; text-align: right; }
  .case-form h3, .case-form-success h3 { font-size: 24px; line-height: 30px; letter-spacing: -1px; }
  .case-form > p, .case-form-success p { margin-top: -8px; font-size: 14px; line-height: 22px; }
  .case-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-form label { font-size: 12px; line-height: 18px; }
  .case-form input, .case-form select { height: 54px; font-size: 14px; }
  .case-form textarea { height: 108px; font-size: 14px; }
  .case-form .button, .case-form-success .button { width: 100%; min-height: 48px; padding: 14px 16px; }

  .detail-hero,
  .detail-snapshot,
  .detail-primary-visual,
  .detail-section,
  .detail-quote,
  .detail-project-nav {
    padding-right: 20px;
    padding-left: 20px;
  }

  .detail-hero { padding-top: 56px; padding-bottom: 64px; gap: 22px; }
  .detail-back { width: 350px; gap: 8px; font-size: 13px; line-height: 20px; }
  .detail-back span { width: 20px; }
  .detail-hero h1 { width: 350px; font-size: 42px; line-height: 46px; letter-spacing: -0.8px; }
  .detail-hero > p { width: 350px; font-size: 17px; line-height: 27px; letter-spacing: -0.1px; }
  .detail-hero-image, .detail-hero-image img { width: 350px; height: 220px; }

  .detail-snapshot { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .detail-snapshot-head { width: 350px; padding-bottom: 0; border-bottom: 0; font-size: 10px; line-height: 15px; letter-spacing: 0.8px; }
  .detail-snapshot-head span { font-size: 9px; letter-spacing: 0.6px; }
  .detail-snapshot-grid { width: 350px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .detail-snapshot-grid > div { min-height: 89px; padding: 18px 16px; gap: 8px; border-radius: 8px; background: var(--case-mobile-subtle); }
  .detail-snapshot-grid b { font-size: 9px; line-height: 14px; letter-spacing: 0.7px; }
  .detail-snapshot-grid p { font-size: 13px; line-height: 19px; }

  .detail-primary-visual { padding-top: 64px; padding-bottom: 64px; gap: 28px; }
  .detail-primary-meta { width: 350px; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .detail-primary-meta b { font-size: 10px; line-height: 15px; letter-spacing: 0.8px; }
  .detail-primary-meta p { width: 350px; font-size: 14px; line-height: 22px; }
  .detail-primary-visual picture, .detail-primary-visual picture img { width: 350px; height: 250px; }

  .detail-section { padding-top: 72px; padding-bottom: 72px; }
  .detail-section-head { width: 350px; margin-bottom: 28px; display: flex; flex-direction: column; gap: 24px; }
  .detail-section-head > div { gap: 20px; }
  .detail-section-head h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.8px; }
  .detail-section-head > p { font-size: 16px; line-height: 24px; }

  .detail-overview-grid { width: 350px; grid-template-columns: 1fr; gap: 0; }
  .detail-overview-grid article { padding: 24px 0; gap: 14px; }
  .detail-overview-grid span, .detail-overview-grid b { font-size: 11px; line-height: 16px; letter-spacing: 0.8px; }
  .detail-overview-grid p { font-size: 16px; line-height: 25px; }

  .detail-four-grid,
  .detail-five-grid,
  .detail-module-grid { width: 350px; grid-template-columns: 1fr; gap: 14px; }

  .detail-signal-card,
  .detail-dark-card,
  .detail-module-card { min-height: 0; padding: 24px; gap: 14px; }
  .detail-signal-card > span, .detail-dark-card > span { font-size: 11px; line-height: 16px; }
  .detail-signal-card > b, .detail-dark-card > b, .detail-module-card > b { font-size: 11px; line-height: 16px; letter-spacing: 0.8px; }
  .detail-signal-card > p, .detail-dark-card > p, .detail-module-card > p { font-size: 16px; line-height: 24px; }
  .detail-signal-card > i, .detail-dark-card > i, .detail-module-card > em { width: 36px; margin-top: 6px; }

  .detail-architecture-grid { width: 350px; display: flex; flex-direction: column; gap: 14px; }
  .detail-system { min-height: 0; padding: 24px 20px; gap: 14px; }
  .detail-system > b { font-size: 10px; line-height: 15px; }
  .detail-system article { min-height: 0; padding: 18px 16px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .detail-system article > span { font-size: 10px; line-height: 15px; }
  .detail-system article b { font-size: 11px; line-height: 16px; }
  .detail-system article p { font-size: 13px; line-height: 20px; }
  .detail-architecture-notes { gap: 14px; }
  .detail-architecture-notes .detail-signal-card { min-height: 0; padding: 22px; gap: 14px; }
  .detail-architecture-notes .detail-signal-card > p { font-size: 16px; line-height: 24px; }

  .detail-module-card > div i { width: 34px; height: 34px; }

  .detail-gallery-grid { width: 350px; display: flex; flex-direction: column; gap: 12px; }
  .detail-gallery-primary, .detail-gallery-primary img { width: 350px; height: 230px; }
  .detail-gallery-grid > div { width: 350px; flex-direction: row; gap: 12px; }
  .detail-gallery-grid > div picture, .detail-gallery-grid > div img { width: 169px; height: 112px; }
  .detail-gallery-caption { width: 350px; margin-top: 0; font-size: 9px; line-height: 15px; letter-spacing: 0.6px; }

  .detail-impact-note { width: 350px; margin-top: 14px; padding-top: 18px; flex-direction: column; gap: 8px; }
  .detail-impact-note b { font-size: 10px; line-height: 15px; }
  .detail-impact-note p { width: 350px; font-size: 13px; line-height: 20px; }

  .detail-quote { padding-top: 72px; padding-bottom: 72px; gap: 28px; }
  .detail-quote-top { width: 350px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .detail-quote-top > span { font-size: 9px; line-height: 14px; letter-spacing: 0.6px; }
  .detail-quote blockquote { width: 350px; font-size: 30px; line-height: 38px; letter-spacing: -0.6px; }
  .detail-quote-attribution { gap: 6px; }
  .detail-quote-attribution b { font-size: 11px; line-height: 16px; }
  .detail-quote-attribution p { font-size: 13px; line-height: 20px; }

  .detail-delivered-grid { width: 350px; display: flex; flex-direction: column; gap: 10px; }
  .detail-delivered-grid > div { gap: 10px; }
  .detail-delivered-grid article { min-height: 0; padding: 16px; gap: 12px; }
  .detail-delivered-grid span { font-size: 11px; line-height: 16px; }
  .detail-delivered-grid b { font-size: 14px; line-height: 21px; }

  .detail-project-nav { padding-top: 72px; padding-bottom: 72px; gap: 28px; }
  .detail-project-nav > div { width: 350px; display: flex; flex-direction: column; gap: 14px; }
  .detail-project-nav > div > a { min-height: 0; padding: 18px; grid-template-columns: 82px minmax(0, 1fr) 16px; gap: 10px; border-radius: 10px; }
  .detail-project-nav > div > a:first-child { grid-template-columns: 16px 82px minmax(0, 1fr); }
  .detail-project-nav picture, .detail-project-nav img { width: 82px; height: 68px; }
  .detail-project-nav a > span { gap: 6px; }
  .detail-project-nav small { font-size: 8px; line-height: 12px; letter-spacing: 0.5px; }
  .detail-project-nav a b { font-size: 15px; line-height: 20px; }
  .detail-project-nav a em { font-size: 8px; line-height: 12px; letter-spacing: 0.4px; }

  .case-reveal.reveal-ready { transform: translate3d(0, 20px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) .case-reveal.reveal-ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html[data-motion="on"] .case-reveal.reveal-ready {
    transition-property: opacity, transform !important;
    transition-duration: 650ms, 740ms !important;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
}

.case-project > .case-project-body {
  min-height: 664px;
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  color: inherit;
}

.case-project-featured > .case-project-body {
  min-height: 560px;
  grid-template-columns: 520px minmax(0, 1fr);
}

.case-project-visual img.is-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .case-page .case-filter-capabilities {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .case-page .case-filter-capabilities > button,
  .case-page .case-filter-capabilities > button:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    max-width: 100%;
  }

  .case-project > .case-project-body,
  .case-project-featured > .case-project-body {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .case-project-visual img.is-cover {
    width: 100%;
    height: 100%;
  }
}

.case-featured-list {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .case-page .case-capability-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }
}

.case-page .case-form-shell,
.case-page .case-form-shell *,
.case-page .case-form-shell *::before,
.case-page .case-form-shell *::after {
  box-sizing: border-box;
}

.case-page .case-form-shell {
  min-width: 0;
  overflow: hidden;
}

.case-page .case-form-shell > .contact-form {
  width: 100%;
  min-width: 0;
  padding: 40px;
}

.case-page .case-form-shell .contact-form-intro,
.case-page .case-form-shell .contact-form-section,
.case-page .case-form-shell .contact-form-row,
.case-page .case-form-shell .contact-field,
.case-page .case-form-shell .contact-privacy,
.case-page .case-form-shell .contact-required-note,
.case-page .case-form-shell .contact-form-status,
.case-page .case-form-shell .contact-submit {
  max-width: 100%;
}

@media (max-width: 767px) {
  .case-page .case-form-shell > .contact-form {
    padding: 28px 24px;
  }
}

.case-page a.case-project-cta {
  color: inherit;
  text-decoration: none;
}

.case-detail-page {
  overflow-x: clip;
}

.case-detail-page .detail-gallery-grid figure {
  margin: 0;
  min-width: 0;
}

.case-detail-page .detail-gallery-item-caption {
  color: var(--case-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

.case-detail-page .detail-hero-image img,
.case-detail-page .detail-primary-visual img,
.case-detail-page .detail-gallery-grid img,
.case-detail-page .detail-project-nav img {
  object-fit: cover;
}

.case-detail-page .detail-project-nav > div > a.is-next {
  grid-template-columns: 156px minmax(0, 1fr) 24px;
}

.case-detail-page .detail-project-nav > div > a.is-next > i {
  order: 0;
}

@media (min-width: 768px) {
  .case-detail-page .detail-snapshot-grid,
  .case-detail-page .detail-four-grid,
  .case-detail-page .detail-five-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .case-detail-page .detail-architecture-grid,
  .case-detail-page .detail-gallery-grid {
    width: min(1280px, 100%);
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
  }

  .case-detail-page .detail-gallery-grid.is-main-only {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-detail-page .detail-gallery-grid.is-supporting-many > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-detail-page .detail-gallery-grid.is-supporting-1 > div picture,
  .case-detail-page .detail-gallery-grid.is-supporting-1 > div img {
    height: 560px;
  }
}

@media (max-width: 767px) {
  .case-detail-page .detail-hero h1,
  .case-detail-page .detail-hero > p,
  .case-detail-page .detail-hero-image,
  .case-detail-page .detail-hero-image img,
  .case-detail-page .detail-back,
  .case-detail-page .detail-snapshot-head,
  .case-detail-page .detail-snapshot-grid,
  .case-detail-page .detail-primary-meta,
  .case-detail-page .detail-primary-meta p,
  .case-detail-page .detail-primary-visual picture,
  .case-detail-page .detail-primary-visual picture img,
  .case-detail-page .detail-section-head,
  .case-detail-page .detail-overview-grid,
  .case-detail-page .detail-four-grid,
  .case-detail-page .detail-five-grid,
  .case-detail-page .detail-module-grid,
  .case-detail-page .detail-architecture-grid,
  .case-detail-page .detail-gallery-grid,
  .case-detail-page .detail-gallery-primary,
  .case-detail-page .detail-gallery-primary img,
  .case-detail-page .detail-gallery-grid > div,
  .case-detail-page .detail-gallery-grid > div picture,
  .case-detail-page .detail-gallery-grid > div img,
  .case-detail-page .detail-gallery-caption,
  .case-detail-page .detail-quote-top,
  .case-detail-page .detail-quote blockquote,
  .case-detail-page .detail-delivered-grid,
  .case-detail-page .detail-project-nav > div {
    width: 100%;
    max-width: 100%;
  }

  .case-detail-page .detail-gallery-grid > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-detail-page .detail-gallery-grid.is-supporting-1 > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-detail-page .detail-project-nav > div > a.is-next {
    grid-template-columns: 82px minmax(0, 1fr) 16px;
  }
}
