:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.single-abda_project,
body.post-type-archive-abda_project {
  margin: 0;
  color: #f0f0e9;
  background: #0a0d0d;
}

.abda-case-study,
.abda-content-shell {
  --background: #0a0d0d;
  --background-soft: #101515;
  --surface: #141919;
  --surface-raised: #1a2020;
  --text: #f0f0e9;
  --text-soft: #a7afab;
  --text-faint: color-mix(in srgb, var(--text-soft) 62%, transparent);
  --line: color-mix(in srgb, var(--text) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--text) 24%, transparent);
  --accent: #2ad7c5;
  --accent-secondary: #ff7b4a;
  --font-fa: Tahoma, sans-serif;
  --font-en: Arial, sans-serif;
  --case-content-width: 1500px;
  --case-cover-height: 76vh;
  --case-fact-columns: 2;
  --case-service-columns: 2;
  --case-gallery-columns: 2;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-en);
  font-weight: var(--body-weight, 400);
  line-height: 1.6;
}

.abda-case-study {
  --case-grid-line: color-mix(in srgb, var(--line) 28%, transparent);
  background:
    linear-gradient(var(--case-grid-line) 1px, transparent 1px) 0 0 / min(12vw, 180px) min(12vw, 180px),
    linear-gradient(90deg, var(--case-grid-line) 1px, transparent 1px) 0 0 / min(12vw, 180px) min(12vw, 180px),
    radial-gradient(circle at 84% 12%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 30%),
    var(--background);
}

.abda-content-shell {
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / min(12vw, 180px) min(12vw, 180px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / min(12vw, 180px) min(12vw, 180px),
    radial-gradient(circle at 84% 12%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 30%),
    var(--background);
}

.abda-case-study[dir='rtl'],
.abda-content-shell[dir='rtl'] {
  font-family: var(--font-fa);
}

.abda-case-study a,
.abda-content-shell a {
  color: inherit;
  text-decoration: none;
}

.abda-case-study img,
.abda-content-shell img {
  display: block;
  max-width: 100%;
}

.abda-case-nav,
.abda-case-dossier,
.abda-case-hero,
.abda-case-cover,
.abda-case-section,
.abda-case-project-nav,
.abda-case-footer,
.abda-content-header,
.abda-project-archive,
.abda-content-shell .navigation {
  width: min(calc(100% - 48px), var(--case-content-width));
  margin-inline: auto;
}

.abda-case-nav {
  position: relative;
  z-index: 10;
  display: grid;
  min-height: 92px;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
}

.abda-case-brand {
  position: relative;
  width: fit-content;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.abda-case-brand i {
  position: absolute;
  top: 1px;
  right: -10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

[dir='rtl'] .abda-case-brand i {
  right: auto;
  left: -10px;
}

.abda-case-back {
  display: inline-flex;
  min-height: 38px;
  padding-inline: 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-soft) !important;
  font-size: 11px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 260ms ease;
}

.abda-case-back span {
  color: var(--accent);
  font-size: 16px;
  transition: transform 260ms ease;
}

.abda-case-back:hover,
.abda-case-back:focus-visible {
  color: #071312 !important;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.abda-case-back:hover span {
  color: inherit;
  transform: translateX(-3px);
}

[dir='rtl'] .abda-case-back:hover span {
  transform: translateX(3px);
}

.abda-case-language {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font: 600 10px/1 var(--font-en);
  direction: ltr;
}

.abda-case-language a {
  padding: 7px;
  border-radius: 50%;
}

.abda-case-language a:hover,
.abda-case-language a.is-active {
  color: var(--accent);
}

.abda-case-dossier {
  display: grid;
  padding-block: clamp(44px, 6vw, 84px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-bottom: 1px solid var(--line-strong);
}

.abda-case-dossier.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.abda-case-dossier-pane {
  min-width: 0;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line-strong);
  border-radius: var(--card-radius-large, 18px) var(--card-radius-small, 8px);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px);
}

.abda-case-dossier-pane .abda-case-section-head {
  margin-block-end: 28px;
}

.abda-case-dossier-pane .abda-case-section-title {
  max-width: none;
  font-size: 24px;
  line-height: 1.1;
}

.abda-case-hero {
  display: flex;
  min-height: min(760px, 78vh);
  padding-block: clamp(54px, 9vh, 118px) 54px;
  flex-direction: column;
  justify-content: space-between;
}

.abda-case-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font: 600 9px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
  direction: ltr;
}

.abda-case-worlds {
  display: flex;
  margin-block: clamp(48px, 9vh, 108px) 20px;
  flex-wrap: wrap;
  gap: 7px;
}

.abda-case-worlds span {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 9px;
}

.abda-case-title {
  max-width: 1320px;
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(62px, 10vw, 150px);
  font-weight: var(--heading-weight, 750);
  line-height: 0.82;
  letter-spacing: var(--heading-tracking, -0.05em);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

[dir='rtl'] .abda-case-title {
  font-family: var(--font-fa);
  line-height: 1.03;
}

.abda-case-hero-foot {
  display: grid;
  margin-block-start: 54px;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr);
  gap: clamp(30px, 8vw, 120px);
  align-items: end;
}

.abda-case-lead {
  max-width: 920px;
  margin: 0;
  font-size: clamp(23px, 3.1vw, 46px);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.abda-case-coordinate {
  margin: 0;
  color: var(--text-faint);
  font: 500 10px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: end;
  direction: ltr;
}

.abda-case-cover {
  position: relative;
  height: var(--case-cover-height);
  min-height: 460px;
  margin-block: 0 clamp(84px, 12vw, 180px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--card-radius-large, 18px) var(--card-radius-small, 8px);
  background: var(--surface);
}

.abda-case-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.44));
  pointer-events: none;
}

.abda-case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--project-focal-position, center);
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}

.abda-case-cover:hover img {
  transform: scale(1.015);
}

.abda-case-cover figcaption {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 16px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.7);
  font: 600 8px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
  direction: ltr;
}

.abda-case-section {
  display: grid;
  padding-block: clamp(68px, 9vw, 130px);
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 120px);
  border-top: 1px solid var(--line-strong);
}

.abda-case-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.abda-case-section-head > span {
  padding-top: 8px;
  color: var(--accent);
  font: 600 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  direction: ltr;
}

.abda-case-section-title {
  max-width: 390px;
  margin: 0;
  font-size: clamp(28px, 3.3vw, 52px);
  font-weight: var(--heading-weight, 750);
  line-height: 0.98;
  letter-spacing: var(--heading-tracking, -0.035em);
}

[dir='rtl'] .abda-case-section-title {
  line-height: 1.12;
}

.abda-case-facts {
  display: grid;
  grid-template-columns: repeat(var(--case-fact-columns), minmax(0, 1fr));
  gap: 8px;
}

.abda-case-fact {
  position: relative;
  display: flex;
  min-height: 126px;
  padding: 16px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--card-radius-small, 8px);
  background: color-mix(in srgb, var(--surface-raised) 74%, transparent);
  transition: border-color 240ms ease, background 240ms ease, transform 320ms cubic-bezier(.16, 1, .3, 1);
}

.abda-case-fact:hover {
  border-color: color-mix(in srgb, var(--accent) 65%, var(--line));
  background: color-mix(in srgb, var(--accent) 6%, var(--surface-raised));
  transform: translateY(-4px);
}

.abda-case-fact > span {
  color: var(--accent);
  font: 600 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.abda-case-fact div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.abda-case-fact small {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 540;
  line-height: 1.35;
}

.abda-case-fact strong {
  font-size: clamp(14px, 1.25vw, 20px);
  font-weight: 650;
  line-height: 1.3;
}

.abda-case-service-grid {
  display: grid;
  grid-template-columns: repeat(var(--case-service-columns), minmax(0, 1fr));
  gap: 8px;
}

.abda-case-service {
  position: relative;
  display: flex;
  min-height: 88px;
  padding: 15px 18px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--card-radius-small, 8px);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  text-align: center;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 320ms cubic-bezier(.16, 1, .3, 1);
}

.abda-case-service:hover {
  color: #071312;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-3px);
}

.abda-case-service > span {
  position: absolute;
  top: 10px;
  inset-inline-start: 11px;
  color: var(--text-faint);
  font: 600 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.abda-case-service img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 320ms cubic-bezier(.16, 1, .3, 1);
}

.abda-case-service:hover img {
  transform: rotate(-7deg) scale(1.12);
}

.abda-case-service strong {
  max-width: 100%;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-wrap: balance;
}

.abda-prose {
  max-width: 900px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.95;
}

.abda-prose > :first-child {
  margin-top: 0;
}

.abda-prose > :last-child {
  margin-bottom: 0;
}

.abda-prose h2,
.abda-prose h3,
.abda-prose h4 {
  margin: 2em 0 0.65em;
  color: var(--text);
  line-height: 1.18;
}

.abda-prose h2 {
  font-size: 2em;
}

.abda-prose a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

.abda-prose blockquote {
  margin: 2.2em 0;
  padding: 20px 24px;
  border-inline-start: 2px solid var(--accent);
  color: var(--text);
  background: var(--surface);
  font-size: 1.15em;
}

.abda-case-external {
  display: inline-flex;
  min-height: 48px;
  padding-inline: 18px;
  margin-block-start: 36px;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent) !important;
  font-size: 11px;
  transition: color 180ms ease, background 180ms ease, transform 260ms ease;
}

.abda-case-external:hover {
  color: #071312 !important;
  background: var(--accent);
  transform: translateY(-2px);
}

.abda-case-external span {
  font-size: 17px;
}

.abda-case-visuals {
  display: block;
}

.abda-case-visuals .abda-case-section-head {
  margin-block-end: 48px;
}

.abda-case-gallery {
  display: grid;
  grid-template-columns: repeat(var(--case-gallery-columns), minmax(0, 1fr));
  gap: 10px;
}

.abda-case-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius-small, 8px);
  background: var(--surface);
}

.abda-case-gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  color: inherit;
  background: transparent;
}

.abda-case-gallery-trigger > span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(0, 0, 0, 0.28);
  font: 600 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  backdrop-filter: blur(8px);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 280ms ease;
}

.abda-case-gallery-trigger:hover > span,
.abda-case-gallery-trigger:focus-visible > span {
  color: #071312;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-3px);
}

.abda-case-gallery figure.is-wide {
  grid-column: 1 / -1;
}

.abda-case-gallery img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(.16, 1, .3, 1);
}

.abda-case-gallery figure.is-wide img {
  max-height: 86vh;
  aspect-ratio: 16 / 9;
}

.abda-case-gallery figure:hover img,
.abda-case-gallery-trigger:focus-visible img {
  transform: scale(1.015);
}

body.abda-lightbox-open {
  overflow: hidden;
}

.abda-case-lightbox[hidden] {
  display: none;
}

.abda-case-lightbox {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  padding: clamp(18px, 4vw, 58px);
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: clamp(10px, 2vw, 28px);
  align-items: center;
  background: color-mix(in srgb, #050707 92%, transparent);
  backdrop-filter: blur(18px);
  animation: abda-lightbox-in 260ms ease both;
}

@keyframes abda-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.abda-case-lightbox figure {
  display: grid;
  min-width: 0;
  max-width: min(1500px, 100%);
  max-height: calc(100vh - 80px);
  margin: 0 auto;
  place-items: center;
  gap: 12px;
}

.abda-case-lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 120px);
  border: 1px solid var(--line-strong);
  border-radius: var(--card-radius-small, 8px);
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
}

.abda-case-lightbox figcaption {
  color: rgba(255, 255, 255, 0.58);
  font: 600 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  direction: ltr;
}

.abda-case-lightbox-close,
.abda-case-lightbox-step {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(8, 12, 12, 0.68);
  font: 400 24px/1 var(--font-en);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 260ms ease;
}

.abda-case-lightbox-close:hover,
.abda-case-lightbox-close:focus-visible,
.abda-case-lightbox-step:hover,
.abda-case-lightbox-step:focus-visible {
  color: #071312;
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.06);
}

.abda-case-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
}

.abda-case-project-nav {
  display: grid;
  padding-block: clamp(70px, 9vw, 128px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.abda-case-project-nav a {
  position: relative;
  display: flex;
  min-height: 220px;
  padding: clamp(24px, 4vw, 54px);
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: color 280ms ease, border-color 280ms ease, background 280ms ease;
}

.abda-case-project-nav a + a {
  border-inline-start: 0;
}

.abda-case-project-nav a:hover {
  color: #071312;
  border-color: var(--accent);
  background: var(--accent);
}

.abda-case-project-nav small {
  margin-block-end: 10px;
  color: var(--text-faint);
  font: 600 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.abda-case-project-nav strong {
  max-width: 80%;
  font-size: clamp(22px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.abda-case-project-nav > a > span {
  position: absolute;
  inset-inline-end: 32px;
  top: 30px;
  font-size: 32px;
  transition: transform 300ms cubic-bezier(.16, 1, .3, 1);
}

.abda-case-project-nav a:hover > span {
  transform: translateX(8px);
}

[dir='rtl'] .abda-case-project-nav a:hover > span {
  transform: translateX(-8px);
}

.abda-case-footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-strong);
  color: var(--text-faint);
  font: 600 8px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  direction: ltr;
}

.abda-case-footer a {
  color: var(--text) !important;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

/* Project archive */
.abda-content-shell {
  padding-block: 0 90px;
}

.abda-content-header {
  display: flex;
  min-height: 420px;
  padding-block: 42px 72px;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-strong);
}

.abda-content-brand {
  width: fit-content;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.abda-content-header h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(50px, 7vw, 100px);
  line-height: 0.9;
  letter-spacing: var(--heading-tracking, -0.04em);
}

.abda-project-archive {
  display: grid;
  padding-block: 70px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.abda-project-tile {
  position: relative;
  display: flex;
  min-height: 500px;
  padding: 24px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line-strong);
  border-radius: var(--card-radius-small, 8px);
  background: var(--surface);
}

.abda-project-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.54;
  filter: saturate(0.4);
  transition: opacity 420ms ease, filter 420ms ease, transform 750ms cubic-bezier(.16, 1, .3, 1);
}

.abda-project-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.86));
}

.abda-project-tile:hover img {
  opacity: 0.84;
  filter: saturate(0.95);
  transform: scale(1.025);
}

.abda-project-tile span,
.abda-project-tile h2 {
  position: relative;
  z-index: 1;
}

.abda-project-tile span {
  color: var(--accent);
  font: 600 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.abda-project-tile h2 {
  max-width: 80%;
  margin: 13px 0 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.abda-content-shell .navigation .nav-links {
  display: flex;
  gap: 8px;
}

.abda-content-shell .page-numbers {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.abda-content-shell .page-numbers.current,
.abda-content-shell .page-numbers:hover {
  color: #071312;
  border-color: var(--accent);
  background: var(--accent);
}

@media (max-width: 1199px) {
  .abda-case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .abda-case-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .abda-case-section {
    grid-template-columns: minmax(190px, 0.3fr) minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .abda-case-nav,
  .abda-case-dossier,
  .abda-case-hero,
  .abda-case-cover,
  .abda-case-section,
  .abda-case-project-nav,
  .abda-case-footer,
  .abda-content-header,
  .abda-project-archive,
  .abda-content-shell .navigation {
    width: min(calc(100% - 26px), var(--case-content-width));
  }

  .abda-case-nav {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .abda-case-back {
    grid-column: 1 / -1;
    grid-row: 2;
    width: fit-content;
    margin-block-end: 12px;
  }

  .abda-case-language {
    grid-column: 2;
    grid-row: 1;
  }

  .abda-case-dossier {
    grid-template-columns: 1fr;
  }

  .abda-case-hero {
    min-height: 610px;
    padding-block: 50px 38px;
  }

  .abda-case-worlds {
    margin-block: 58px 18px;
  }

  .abda-case-hero-foot {
    display: block;
    margin-block-start: 38px;
  }

  .abda-case-coordinate {
    margin-block-start: 26px;
    text-align: start;
  }

  .abda-case-cover {
    height: min(66vh, 620px);
    min-height: 360px;
    margin-block-end: 82px;
  }

  .abda-case-section {
    display: block;
    padding-block: 66px;
  }

  .abda-case-section-head {
    margin-block-end: 34px;
  }

  .abda-case-facts,
  .abda-case-service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .abda-case-service {
    min-height: 86px;
    padding: 14px;
    border-radius: var(--card-radius-small, 8px);
  }

  .abda-case-gallery {
    grid-template-columns: 1fr;
  }

  .abda-case-gallery figure,
  .abda-case-gallery figure.is-wide {
    grid-column: auto;
  }

  .abda-case-gallery img,
  .abda-case-gallery figure.is-wide img {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .abda-case-project-nav {
    grid-template-columns: 1fr;
  }

  .abda-case-lightbox {
    padding: 58px 12px 18px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 6px;
  }

  .abda-case-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .abda-case-lightbox-step {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .abda-case-project-nav a + a {
    border-inline-start: 1px solid var(--line-strong);
    border-top: 0;
  }

  .abda-project-archive {
    grid-template-columns: 1fr;
  }

  .abda-project-tile {
    min-height: 390px;
  }
}

@media (max-width: 520px) {
  .abda-case-title {
    overflow-wrap: normal;
    word-break: normal;
  }

  .abda-case-facts,
  .abda-case-service-grid {
    grid-template-columns: 1fr;
  }

  .abda-case-fact {
    min-height: 132px;
  }

  .abda-case-dossier-pane {
    padding: 20px 14px;
  }

  .abda-case-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .abda-case-lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .abda-case-lightbox-step {
    grid-row: 2;
    justify-self: center;
  }

  .abda-case-project-nav a {
    min-height: 180px;
  }

  .abda-case-footer {
    min-height: 86px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .abda-case-study *,
  .abda-content-shell * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
