/* ============================================================
   CASE STUDY PAGE
   Uses the global Likomotiva typography and spacing tokens.
   ============================================================ */

.case-hero {
  min-height: 640px;
  background: #f5f5f5;
  position: relative;
}

.case-hero .nav__link,
.case-hero .nav__brand { color: #111111; }
.case-hero .nav__link::after { background: #111111; }
.case-hero .nav__cta { background: #111111; color: #ffffff; }
.case-hero .nav__cta:hover { background: #000000; color: #ffffff; }
.case-hero .nav__burger span { background: #111111; }
.case-hero .dropdown-icon { filter: brightness(0); }

.case-layout--album .case-hero {
  background: #f5f5f5;
  background-image: none;
}

.case-layout--album .case-hero::before {
  content: none;
}

.case-layout--album .case-hero .site-header,
.case-layout--album .case-hero__content {
  position: relative;
  z-index: 1;
}

.case-layout--album .case-hero .nav__link,
.case-layout--album .case-hero .nav__brand,
.case-layout--album .case-hero__title,
.case-layout--album .case-hero__title span,
.case-layout--album .case-hero__title em {
  color: #111111;
}

.case-layout--album .case-hero .nav__link::after {
  background: #111111;
}

.case-layout--album .case-hero .nav__logo img {
  filter: none;
}

.case-layout--album .case-hero .nav__cta {
  background: #111111 !important;
  color: #ffffff !important;
}

.case-layout--album .case-hero .nav__burger span {
  background: #111111;
}

.case-layout--album .case-kicker,
.case-layout--album .case-hero__sub {
  color: rgba(0,0,0,0.62);
}

.case-layout--album .case-hero__title span,
.case-layout--album .case-hero__title em {
  display: block;
}

.case-hero__content {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.case-kicker,
.case-eyebrow {
  font-family: var(--font-mont);
  font-size: 12px;
  font-weight: var(--fw-medium);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(0,0,0,0.55);
  margin: 0 0 22px;
}

.case-copy .case-eyebrow {
  letter-spacing: 0;
  margin-bottom: 28px;
}

.case-hero__title {
  max-width: 980px;
  margin: 0;
  font-weight: 400;
  color: #111111;
}

.case-hero__title span {
  font-family: var(--font-mont);
  font-size: var(--fs-h1-mont);
  font-weight: 400;
  line-height: var(--lh-h1-mont);
  letter-spacing: var(--ls-default);
}

.case-hero__title em {
  font-family: var(--font-dutch);
  font-size: var(--fs-h1-dutch);
  font-style: italic;
  font-weight: 400;
  line-height: var(--lh-h1-dutch);
  letter-spacing: var(--ls-default);
}

.case-hero__sub {
  max-width: 740px;
  margin: 30px auto 0;
  font-family: var(--font-mont);
  font-size: var(--fs-p);
  font-weight: var(--fw-regular);
  line-height: var(--lh-p);
  letter-spacing: var(--ls-default);
  color: rgba(0,0,0,0.62);
}

.case-cover-zone {
  background: linear-gradient(to bottom, #f5f5f5 0 50%, #ffffff 50% 100%);
  padding-bottom: 90px;
}

.case-layout--album .case-cover-zone {
  background: linear-gradient(to bottom, #f5f5f5 0 50%, #ffffff 50% 100%);
}

.case-cover {
  height: min(680px, 48vw);
  min-height: 460px;
  border-radius: 8px;
  overflow: hidden;
}

.case-cover img,
.case-image img,
.case-more__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-layout--album .case-cover,
.case-layout--album .case-image,
.case-more__card--album .case-more__media {
  background: #0b0b0b;
}

.case-wide {
  width: calc(100% - 80px);
  max-width: 1372px;
  margin-left: auto;
  margin-right: auto;
}

.case-info,
.case-text-row {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 90px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.case-text-row--full {
  display: block;
}

.case-text-row--full .case-copy {
  max-width: 100%;
}

.case-info__side {
  position: sticky;
  top: 110px;
  align-self: start;
}

.case-meta {
  margin: 0;
  border-top: 0;
}

.case-meta__item {
  padding: 18px 0;
  border-bottom: 0;
}

.case-meta dt {
  font-family: var(--font-mont);
  font-size: 12.6px;
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  text-transform: none;
  color: rgba(0,0,0,0.45);
  margin-bottom: 8px;
}

.case-meta dd {
  font-family: var(--font-mont);
  font-size: 18.6px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  letter-spacing: 0;
  color: #111111;
  margin: 0;
}

.case-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 5px;
  background: #111111;
  color: #ffffff;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  text-decoration: none;
  overflow: hidden;
  line-height: 1.2;
}

.case-visit .btn-track {
  position: relative;
  display: block;
  height: 1.2em;
  overflow: hidden;
}

.case-visit .btn-track__inner {
  display: block;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.case-visit .btn-track__inner > span {
  display: block;
  height: 1.2em;
  line-height: 1.2;
}

.case-visit:hover .btn-track__inner {
  transform: translateY(-1.2em);
}

.case-copy {
  max-width: 880px;
}

.case-copy h2 {
  font-family: var(--font-mont);
  font-size: 41px;
  font-weight: var(--fw-semibold);
  line-height: 1.12;
  letter-spacing: -0.06em;
  color: #111111;
  margin: 0 0 28px;
}

.case-copy h3 {
  font-family: var(--font-mont);
  font-size: 22px;
  font-weight: var(--fw-semibold);
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: #111111;
  margin: 46px 0 14px;
}

.case-copy p {
  font-family: var(--font-mont);
  font-size: var(--fs-p);
  font-weight: var(--fw-regular);
  line-height: 1.72;
  letter-spacing: var(--ls-default);
  color: rgba(0,0,0,0.58);
  margin: 0;
}

.case-result-link {
  display: inline-block;
  margin-top: 34px;
  font-family: var(--font-mont);
  font-size: var(--fs-p);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-default);
  color: #111111;
  text-decoration: none;
  background-image: linear-gradient(#111111, #111111);
  background-repeat: no-repeat;
  background-position: left bottom 1px;
  background-size: 100% 1px;
  transition: background-size 0.3s ease;
}

.case-result-link span {
  font-size: 0.82em;
  line-height: 1;
  margin-left: 6px;
}

.case-result-link:hover {
  background-size: 0% 1px;
  background-position: right bottom 1px;
}

.case-media-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.case-image {
  height: min(620px, 42vw);
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background: #eeeeee;
  margin: 0;
}

.case-image--wide {
  height: min(720px, 50vw);
}

.case-more {
  background: #f5f5f5;
  padding: 110px 0;
}

.case-more__head {
  margin-bottom: 44px;
}

.case-more__head h2 {
  margin: 0;
  font-weight: 400;
}

.case-more__head .h2-mont,
.case-more__head .h2-dutch {
  color: #111111;
}

.case-more__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.case-more__card {
  text-decoration: none;
  color: inherit;
}

.case-more__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #eeeeee;
  margin-bottom: 18px;
}

.case-more__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.case-more__media::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.case-more__card:hover .case-more__media::before,
.case-more__card:hover .case-more__media::after {
  opacity: 1;
}

.case-more__media img {
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-more__card:hover .case-more__media img {
  transform: scale(1.04);
}

.case-more__title {
  display: block;
  font-family: var(--font-mont);
  font-size: 18px;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #111111;
  margin-bottom: 8px;
}

.case-more__services {
  display: block;
  font-family: var(--font-mont);
  font-size: 13px;
  font-weight: var(--fw-regular);
  line-height: 1.45;
  letter-spacing: 0;
  color: rgba(0,0,0,0.52);
}
