:root {
  --shiftboard-bg: #000000;
  --shiftboard-text: #ffffff;
  --shiftboard-text-muted: rgba(255, 255, 255, 0.78);
  --shiftboard-text-soft: rgba(255, 255, 255, 0.7);
  --shiftboard-section-gap: 88px;
}

* {
  box-sizing: border-box;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  background: var(--shiftboard-bg);
  color: var(--shiftboard-text);
  font-family: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.shiftboard-page {
  width: 100%;
  background: var(--shiftboard-bg);
}

.shiftboard-shell {
  width: min(1512px, 100%);
  margin: 0 auto;
  padding: 83px 48px 96px;
}

.shiftboard-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shiftboard-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--shiftboard-text);
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  width: fit-content;
  transform: translateY(-4px);
}

.shiftboard-back__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shiftboard-back__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.shiftboard-title {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.shiftboard-description {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--shiftboard-text-soft);
}

.shiftboard-meta {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.shiftboard-meta__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 40px;
}

.shiftboard-meta__item--wide {
  min-width: 155px;
}

.shiftboard-meta__label {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.shiftboard-meta__value {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.shiftboard-hero {
  margin-top: 56px;
  padding: 32px 0;
}

.shiftboard-hero__image {
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  height: min(903px, 62vw);
}

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

.shiftboard-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  padding: var(--shiftboard-section-gap) 0;
}

.shiftboard-copy {
  padding: 48px 64px;
}

.shiftboard-copy__title {
  margin: 0 0 19px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.shiftboard-copy__paragraph,
.shiftboard-copy__body p {
  margin: 0;
  color: var(--shiftboard-text-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.shiftboard-copy__list {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--shiftboard-text-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.shiftboard-copy__list strong {
  font-weight: 700;
}

.shiftboard-copy__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shiftboard-copy__list--outcome {
  gap: 9px;
}

.shiftboard-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.shiftboard-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.shiftboard-card--square {
  width: 100%;
  max-width: 696px;
  aspect-ratio: 1 / 1;
  justify-self: center;
}

.shiftboard-outcome {
  padding: var(--shiftboard-section-gap) 0;
}

.shiftboard-copy--outcome {
  padding: 48px 64px;
}

.shiftboard-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 128px;
}

.shiftboard-gallery__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.shiftboard-gallery__row--double .shiftboard-card--portrait {
  width: min(438px, calc(50% - 12px));
  aspect-ratio: 438 / 840;
}

.shiftboard-gallery__row--single {
  justify-content: center;
}

.shiftboard-card--wide {
  width: min(1307px, 100%);
  aspect-ratio: 1307 / 840;
}

@media (max-width: 1200px) {
  :root {
    --shiftboard-section-gap: 72px;
  }

  .shiftboard-shell {
    padding: 64px 32px 72px;
  }

  .shiftboard-description {
    max-width: 980px;
    line-height: 1.25;
  }

  .shiftboard-hero__image {
    height: min(640px, 62vw);
  }

  .shiftboard-copy {
    padding: 24px;
  }

  .shiftboard-copy--outcome {
    padding: 24px;
  }

  .shiftboard-gallery {
    padding: 24px 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --shiftboard-section-gap: 56px;
  }

  .shiftboard-shell {
    padding: 56px 24px 56px;
  }

  .shiftboard-title {
    font-size: clamp(32px, 5vw, 40px);
  }

  .shiftboard-meta {
    margin-top: 28px;
    gap: 48px;
  }

  .shiftboard-hero {
    margin-top: 36px;
  }

  .shiftboard-hero__image {
    height: min(470px, 58vw);
  }

  .shiftboard-block {
    grid-template-columns: 1fr;
    row-gap: 32px;
    padding: var(--shiftboard-section-gap) 0;
  }

  .shiftboard-copy {
    padding: 8px 0;
  }

  .shiftboard-copy--outcome {
    padding: 8px 0;
  }

  .shiftboard-copy__title {
    margin-bottom: 14px;
  }

  .shiftboard-copy__paragraph,
  .shiftboard-copy__body p,
  .shiftboard-copy__list {
    line-height: 1.35;
  }

  .shiftboard-card--square {
    max-width: none;
  }

  .shiftboard-gallery {
    padding: 16px 0;
    gap: 16px;
  }

  .shiftboard-gallery__row {
    gap: 16px;
  }

  .shiftboard-gallery__row--double .shiftboard-card--portrait {
    width: min(438px, calc(50% - 8px));
  }
}

@media (max-width: 680px) {
  .shiftboard-shell {
    padding: 48px 16px 48px;
  }

  .shiftboard-back {
    transform: translateY(0);
  }

  .shiftboard-meta {
    gap: 28px;
    flex-wrap: wrap;
  }

  .shiftboard-hero {
    margin-top: 24px;
    padding: 20px 0;
  }

  .shiftboard-hero__image {
    height: min(360px, 64vw);
    border-radius: 12px;
  }

  .shiftboard-card {
    border-radius: 12px;
  }

  .shiftboard-gallery__row--double {
    flex-direction: column;
    align-items: center;
  }

  .shiftboard-gallery__row--double .shiftboard-card--portrait {
    width: min(100%, 380px);
  }

  .shiftboard-card--wide {
    width: 100%;
  }
}
