* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', sans-serif;
    background: #C8C8C8;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero {
  width: 100%;
  line-height: 0;
  display: block;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== CASES SECTION ===== */
.cases {
  background: #ffffff;
  padding: 80px;
  padding-top: 60px;
}

.cases__heading {
  font-family: Inter, sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: #000;
  letter-spacing: 0.52px;
  margin: 0 0 48px 0;
  line-height: normal;
}

.cases__grid {
  display: flex;
  flex-direction: column;
}

.cases__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 32px 0;
}

.cases__divider {
  height: 1px;
  background: #EAEAEA;
  width: 100%;
}

.cases__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
}

.cases__item--empty {
  visibility: hidden;
  cursor: default;
}

.cases__item:hover .cases__title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cases__item:hover .cases__view {
  border-bottom: 1px solid #000;
  gap: 6px;
}

.cases__item:hover .cases__view::after {
  opacity: 1;
}

.cases__thumb {
  width: 100%;
  aspect-ratio: 283 / 170;
  border-radius: 12px;
  overflow: hidden;
  background: lightgray;
}

.cases__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cases__title {
  font-family: Inter, sans-serif;
  font-size: 26px;
  font-weight: 300;
  color: #000;
  letter-spacing: 0.52px;
  margin: 0;
  line-height: normal;
}

.cases__tags {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 24px;
  margin: 0;
}

.cases__view {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 30px;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, gap 0.3s ease;
}

.cases__view::after {
  content: '→';
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 400;
}

/* ===== CASE STUDY HEADER ===== */
.case-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 86px;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.13);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid #C1C1C1;
  box-sizing: border-box;
  z-index: 100;
}

.case-header__title {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
}

.case-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.case-header__arrow {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.case-header__arrow:hover {
  border-bottom: 1px solid #000;
}

.case-header__close {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.case-header__close:hover {
  border-bottom: 1px solid #000;
}

.case-header__title,
.case-header__arrow,
.case-header__close {
  transition: color 0.4s ease, border-color 0.4s ease;
}
