* { box-sizing: border-box; }
body { margin: 0; background: #f6f7fb; color: #151b2c; font: 1rem/1.6 system-ui, sans-serif; }
.case-site { --case-muted: #4b556a; --case-line: #cfd6e1; }
.case-site a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.case-wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.case-header { color: #f1f3fb; }
.case-header-row { min-height: 80px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.case-header-row nav { margin-left: auto; }
.case-brand img { width: 112px; height: auto; display: block; }
.case-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 15px; border: 1px solid #527b70; border-radius: 9px; font-weight: 650; text-decoration: none; }
.case-contact { position: relative; background-color: #086546; color: white !important; overflow: hidden; }
.case-btn.case-secondary { color: #24347e; border-color: #7685b3; background: #fff; }
.case-btn.case-secondary:is(:hover, :focus-visible) { background: #e9eeff; }
.case-hero { position: relative; isolation: isolate; background: #e9eef8; }
.case-hero-copy { position: relative; padding: 28px 0 clamp(52px, 9vw, 114px); }
.case-crumbs { display: flex; gap: 7px 18px; flex-wrap: wrap; margin-bottom: clamp(38px, 6vw, 76px); color: var(--case-muted); font-size: .9rem; }
.case-kicker { margin: 0 0 12px; color: #324685; font-weight: 700; }
.case-site h1, .case-site h2 { margin: 0; line-height: 1.07; letter-spacing: -.043em; text-wrap: balance; }
.case-site h1 { font-size: clamp(3.25rem, 9vw, 7rem); }
.case-site h2 { font-size: clamp(1.7rem, 3.5vw, 2.85rem); }
.case-subtitle { max-width: 28ch; margin: 18px 0 0; font-size: clamp(1.5rem, 4vw, 2.85rem); line-height: 1.12; text-wrap: balance; }
.case-lead { margin: 18px 0 0; max-width: 64ch; color: var(--case-muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.case-hero .case-btn { margin-top: 24px; }
.case-cover { position: absolute; inset: 0; z-index: -1; }
.case-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.case-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #090e1df7 0%, #090e1de8 33%, #090e1d3c 100%); }
.case-delos { background: #091222; color: #f7fbff; }
.case-delos :is(.case-kicker,.case-crumbs,.case-lead) { color: #e2edf8; }
.case-delos .case-hero-copy { padding-bottom: clamp(68px, 10vw, 135px); }
.case-delos :is(.case-lead,.case-subtitle) { max-width: 41ch; }
.case-section, .case-end { padding-block: clamp(42px, 7vw, 82px); border-bottom: 1px solid var(--case-line); }
.case-split, .case-preview-grid { display: grid; gap: 26px clamp(30px, 6vw, 86px); grid-template-columns: 1fr 1fr; align-items: start; }
.case-preview-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.case-prose { color: var(--case-muted); font-size: 1.12rem; }
.case-prose p { margin: 0 0 14px; }
.case-screen { margin: 0; background: #fff; border: 1px solid var(--case-line); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 35px #23344d15; }
.case-screenshot .case-screen { margin: 26px 0 0; }
.case-screen-label { border-bottom: 1px solid var(--case-line); padding: 8px 15px; background: #edf2f8; color: #41506b; font-size: .84rem; }
.case-screen a { display: block; }
.case-screen img { display: block; width: 100%; max-height: 850px; height: auto; object-fit: contain; }
.case-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.case-photos figure { margin: 0; }
.case-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #dfe5eb; }
.case-photos figcaption, .case-attribution { color: var(--case-muted); font-size: .9rem; margin: 10px 0 0; }
.case-end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.case-end-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.case-footer { color: #cdd3df; padding: 30px 0; }
.case-footer p { margin: 14px 0 0; color: #babcc7; border-top: 1px solid #abb6cf35; padding-top: 12px; text-align: center; font-size: .8rem; }
@media (max-width: 700px) {
  .case-wrap { width: calc(100% - 30px); }
  .case-header-row { gap: 10px; }
  .case-brand img { width: 76px; }
  .case-header-row :is(nav, .case-btn) { font-size: .79rem; }
  .case-header-row .case-btn { padding-inline: 8px; }
  .case-split, .case-preview-grid, .case-photos { grid-template-columns: minmax(0, 1fr); }
  .case-cover::after { background: linear-gradient(90deg, #090e1ded, #090e1d9f); }
}

.case-feature {
  background: linear-gradient(130deg, var(--case-feature-tint), #fafbff 82%);
  border-bottom: 1px solid var(--case-line);
}

.case-theme-steel { --case-feature-tint: #dce9f6; }
.case-theme-violet { --case-feature-tint: #e8e3fa; }
.case-theme-leaf { --case-feature-tint: #e2eddf; }
.case-theme-sky { --case-feature-tint: #dceef6; }
.case-theme-slate { --case-feature-tint: #e1e8ee; }
.case-theme-citrus { --case-feature-tint: #f2f2cc; }
.case-theme-sand { --case-feature-tint: #f1e8dd; }

.case-feature-inner {
  padding-block: 24px clamp(42px, 7vw, 88px);
}

.case-feature .case-crumbs {
  margin-bottom: clamp(28px, 5vw, 60px);
}

.case-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}

.case-feature-grid-text {
  grid-template-columns: minmax(0, 46rem);
}

.case-feature .case-feature-copy h1 {
  font-size: clamp(2.35rem, 1.25rem + 3vw, 4.8rem);
  overflow-wrap: anywhere;
  text-wrap: initial;
}

.case-feature .case-subtitle {
  max-width: 34ch;
  font-size: clamp(1.22rem, 1rem + 1vw, 2rem);
}

.case-feature-visual {
  min-width: 0;
  margin: 0;
}

.case-feature-visual .case-screen {
  background: #fbfcff;
}

.case-feature-visual img {
  max-height: min(560px, 68vh);
}

.case-feature-visual figcaption {
  margin-top: 12px;
  color: var(--case-muted);
  font-size: .9rem;
}

.case-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 6vw, 82px);
}

.case-story p {
  margin: 16px 0 0;
  color: var(--case-muted);
  font-size: 1.1rem;
  max-width: 62ch;
}

.case-related h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.case-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.case-related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--case-line);
  border-radius: 9px;
  background: #fff;
  color: #24347e;
  font-weight: 650;
}

.case-related-links a:is(:hover, :focus-visible) {
  background: #e9eeff;
}

@media (max-width: 760px) {
  .case-feature-grid, .case-story {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-feature-visual img {
    max-height: 460px;
  }
}
