.case-study {
  --cool-white: #fafefe;
  --dark-blue: #0e1c36;
  --straw: #e5d17d;
  --goldenrod: #dfc24c;
  --opaque-pink: #eacabf;
  --teal: #327575;
  --sienna: #b98675;
  --opaque-light-blue: #d7fcfc;
  --aqua: #bcdbdb;
  --tan: #c3ac98;
  --light-tan: #d6c8bb;
  --light-yellow: #fffcf0;
  --obj-01: var(--dark-blue);
  --ui-bg: var(--cool-white);
  --interactive-01: var(--straw);
  --interactive-01-hover: var(--goldenrod);
  --ui-01: var(--light-yellow);
  --accent-01: var(--teal);
  --accent-02: var(--opaque-light-blue);
  --accent-03: var(--light-tan);
  --accent-04: var(--tan);
  --gradient-01: linear-gradient(180deg, color-mix(in srgb, var(--accent-01) 20%, transparent), color-mix(in srgb, var(--accent-02) 0%, transparent));
  --cursor-zoom-in: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2732%27 height=%2732%27 viewBox=%270 0 32 32%27%3E%3Cg fill=%27none%27 stroke-linecap=%27square%27%3E%3Ccircle cx=%2713%27 cy=%2713%27 r=%277.5%27 stroke=%27%23fff%27 stroke-width=%274%27/%3E%3Cpath d=%27M18.5 18.5 26 26%27 stroke=%27%23fff%27 stroke-width=%274%27/%3E%3Ccircle cx=%2713%27 cy=%2713%27 r=%277.5%27 stroke=%27%230e1c36%27 stroke-width=%272%27/%3E%3Cpath d=%27M18.5 18.5 26 26%27 stroke=%27%230e1c36%27 stroke-width=%272%27/%3E%3Cpath d=%27M13 9.5v7M9.5 13h7%27 stroke=%27%230e1c36%27 stroke-width=%272%27/%3E%3C/g%3E%3C/svg%3E") 13 13, zoom-in;
  --cursor-zoom-out: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2732%27 height=%2732%27 viewBox=%270 0 32 32%27%3E%3Cg fill=%27none%27 stroke-linecap=%27square%27%3E%3Ccircle cx=%2713%27 cy=%2713%27 r=%277.5%27 stroke=%27%23fff%27 stroke-width=%274%27/%3E%3Cpath d=%27M18.5 18.5 26 26%27 stroke=%27%23fff%27 stroke-width=%274%27/%3E%3Ccircle cx=%2713%27 cy=%2713%27 r=%277.5%27 stroke=%27%230e1c36%27 stroke-width=%272%27/%3E%3Cpath d=%27M18.5 18.5 26 26%27 stroke=%27%230e1c36%27 stroke-width=%272%27/%3E%3Cpath d=%27M9.5 13h7%27 stroke=%27%230e1c36%27 stroke-width=%272%27/%3E%3C/g%3E%3C/svg%3E") 13 13, zoom-out;

  margin: 0;
  background: var(--ui-bg);
  color: var(--obj-01);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.case-study,
.case-study * { box-sizing: border-box; }

.case-study a { color: inherit; text-decoration: none; }
.case-study img { max-width: 100%; display: block; }
.case-study a:focus-visible,
.case-study .zoom:focus-visible,
.case-study .lightbox-shot:focus-visible {
  outline: 2px solid var(--obj-01);
  outline-offset: 3px;
}

.case-study.chapter {
  min-height: 0;
  background: var(--ui-bg);
}
.case-study.chapter .wrap { padding-bottom: 0; }
.case-study .sections-slot { display: block; width: 100%; padding-bottom: 48px; }

.case-study .shell {
  margin: 0 56px;
  border-left: 2px solid var(--obj-01);
  border-right: 2px solid var(--obj-01);
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}

.case-study .component-slot {
  display: block;
  min-height: 0;
  background: var(--ui-bg);
}
.case-study .component-slot--header { border-bottom: 2px solid var(--obj-01); }
.case-study .component-slot--footer { border-top: 2px solid var(--obj-01); }
.case-study .slot-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 18px 32px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study .wrap {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding-bottom: 48px;
}
.case-study .prose { width: min(720px, 100%); }

.case-study .intro {
  background: var(--gradient-01);
  border-bottom: 2px solid var(--obj-01);
  padding: 48px 0 40px;
}
.case-study .intro .wrap { padding-bottom: 0; }

.case-study .eyebrow {
  margin: 0 0 8px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--obj-01);
}

.case-study h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--obj-01);
  margin: 0 0 16px;
}

.case-study h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--obj-01);
  margin: 64px 0 12px;
}

.case-study h3 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--obj-01);
  margin: 22px 0 8px;
}

.case-study p { margin: 0 0 14px; }
.case-study .lede {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 40rem;
}

.case-study .meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 28px 0 0;
  border: 2px solid var(--obj-01);
}
.case-study .meta article {
  background: var(--ui-bg);
  padding: 16px 18px 18px;
  border-right: 2px solid var(--obj-01);
}
.case-study .meta article:last-child { border-right: 0; background: var(--accent-02); }
.case-study .meta p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.case-study .meta .label {
  display: block;
  margin-bottom: 8px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study .scope {
  font-size: 18px;
  font-weight: 500;
  margin-top: 16px;
}

.case-study ol.points {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.case-study ol.points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.case-study .mark,
.case-study .pin {
  width: 28px;
  height: 28px;
  background: var(--interactive-01);
  color: var(--obj-01);
  border: 2px solid var(--obj-01);
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.case-study .pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
.case-study .mark.good,
.case-study .pin.good {
  background: var(--accent-01);
  color: var(--cool-white);
}

.case-study .zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: var(--cursor-zoom-in);
}

.case-study figure.shot { margin: 28px 0 8px; }
.case-study .frame {
  display: block;
  width: 100%;
  position: relative;
  background: var(--ui-01);
  border: 2px solid var(--obj-01);
  overflow: hidden;
}
.case-study .frame img { width: 100%; height: auto; }
.case-study .video-frame { background: var(--dark-blue); }
.case-study .video-frame video { width: 100%; height: auto; display: block; }
.case-study .video-frame.is-embed {
  aspect-ratio: 100 / 62.7177700348432;
}
.case-study .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-study figcaption {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
}
.case-study figcaption strong { font-weight: 700; }
.case-study .cap-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.case-study .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.case-study .close {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0 24px;
}
.case-study .close article {
  background: var(--ui-01);
  border: 2px solid var(--obj-01);
  padding: 18px 18px 8px;
}
.case-study .close article.close-change {
  background: var(--accent-02);
}

.case-study .more {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
  align-items: stretch;
}
.case-study .card-slot {
  display: flex;
  min-width: 0;
  min-height: 100%;
}
.case-study .card-slot > * {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}
.case-study .card.card-slot-empty {
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.case-study .card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  min-height: 100%;
  padding: 16px 11px;
  border: 2px solid var(--obj-01);
  border-radius: 4px;
  background: var(--light-yellow);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.case-study .card.is-hover {
  background: var(--gradient-01);
}
.case-study .card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 660 / 557;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  border: 0.3px solid var(--obj-01);
  border-radius: 8px;
  background: var(--ui-bg);
}
.case-study .card-media img,
.case-study .card-media picture,
.case-study .card-media figure,
.case-study .card .image-slot,
.case-study .card .image-slot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}
.project-card.case-study {
  min-height: 0;
  background: transparent;
}
.project-card {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.project-card > .card {
  height: 100%;
}
.case-study .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-top: 4px;
}
.case-study .card .eyebrow {
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}
.case-study .card strong {
  display: block;
  margin: 0;
  padding: 4px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.08px;
  line-height: normal;
  text-transform: uppercase;
}
.case-study .card p {
  margin: 0;
  padding: 4px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.72px;
  line-height: 1.4;
}


.case-study .image-label {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.case-study .is-placeholder .image-label,
.case-study .image-slot.is-empty + .image-label { display: flex; }
.case-study .image-slot {
  display: block;
  width: 100%;
}
.case-study .image-slot.is-empty { min-height: 280px; }
.case-study .image-slot img,
.case-study .image-slot picture,
.case-study .image-slot figure {
  width: 100%;
  height: auto;
  max-width: 100%;
}
.case-study .card .image-slot.is-empty {
  min-height: 0;
  background: var(--ui-bg);
}

.case-study dialog.lightbox {
  display: none;
  margin: 0;
  border: 0;
  background: transparent;
}
.case-study dialog.lightbox[open] {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  padding: 24px;
  background: rgb(14 28 54 / 0.86);
  cursor: var(--cursor-zoom-out);
}
.case-study dialog.lightbox::backdrop {
  background: rgb(14 28 54 / 0.86);
}
.case-study .lightbox-shot {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: var(--cursor-zoom-out);
}
.case-study .lightbox-shot:focus-visible { outline-color: var(--interactive-01); }
.case-study .lightbox-shot img {
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 2px solid var(--obj-01);
  background: var(--ui-bg);
}

@media (max-width: 900px) {
  .case-study .component-slot--header { border-bottom: 0; }
  .case-study .shell { margin: 0 24px; }
  .case-study .wrap { width: min(1120px, calc(100% - 48px)); }
  .case-study .meta { grid-template-columns: 1fr 1fr; }
  .case-study .meta article {
    border-right: 0;
    border-bottom: 2px solid var(--obj-01);
  }
  .case-study .meta article:nth-child(odd) { border-right: 2px solid var(--obj-01); }
  .case-study .meta article:nth-last-child(-n + 2) { border-bottom: 0; }
  .case-study .pair { grid-template-columns: 1fr; }
  .case-study .more { grid-template-columns: 1fr; }
  .case-study .card {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
  .case-study .card-media,
  .case-study .card-body {
    flex: 1 1 0;
    min-width: 0;
  }
  .case-study .card .eyebrow { font-size: 10px; }
  .case-study .card p {
    font-size: 10px;
    letter-spacing: 0.6px;
  }
}

@media (max-width: 640px) {
  .case-study .shell { margin: 0 16px; }
  .case-study .wrap { width: min(1120px, calc(100% - 32px)); }
  .case-study .slot-label { padding: 16px; }
  .case-study .intro { padding: 32px 0 28px; }
  .case-study { font-size: 18px; }
  .case-study .lede { font-size: 20px; }
  .case-study h2 { margin-top: 40px; }
  .case-study .meta,
  .case-study .close { grid-template-columns: 1fr; }
  .case-study .meta article,
  .case-study .meta article:nth-child(odd) {
    border-right: 0;
    border-bottom: 2px solid var(--obj-01);
  }
  .case-study .meta article:last-child { border-bottom: 0; }
}

