body.om-portfolio-page {
  --om-color-bg: #ffffff;
  --om-color-text: #171717;
  --om-color-muted: #6b6b6b;
  --om-color-line: #e2e2e2;
  --om-color-accent: #171717;
  background: #ffffff;
}

body.om-portfolio-page .om-portfolio-atlas {
  background: #ffffff;
  color: var(--om-color-text, #171717);
}

body.om-portfolio-page .atlas-kicker,
body.om-portfolio-page .atlas-section-head h2,
body.om-portfolio-page .atlas-routing h2,
body.om-portfolio-page .atlas-catalog__meta,
body.om-portfolio-page .atlas-case__meta,
body.om-portfolio-page .atlas-card__meta,
body.om-portfolio-page .atlas-data-warning,
body.om-portfolio-page .atlas-card__issue {
  color: #6b6b6b;
}

body.om-portfolio-page .atlas-hero__intro,
body.om-portfolio-page .atlas-case__thesis,
body.om-portfolio-page .atlas-card__thesis,
body.om-portfolio-page .atlas-method__item p,
body.om-portfolio-page .atlas-cta p {
  color: #3d3d3d;
}

body.om-portfolio-page .atlas-case,
body.om-portfolio-page .atlas-card,
body.om-portfolio-page .atlas-method__item {
  background: #ffffff;
  border-color: #e2e2e2;
}

body.om-portfolio-page .atlas-case__media,
body.om-portfolio-page .atlas-card__media {
  background: #f4f4f4;
}

body.om-portfolio-page .atlas-route,
body.om-portfolio-page .atlas-chip {
  border-color: #d9d9d9;
  background: #ffffff;
  color: #4d4d4d;
}

body.om-portfolio-page .atlas-route:hover,
body.om-portfolio-page .atlas-chip:hover {
  border-color: #9b9b9b;
  color: #171717;
}

body.om-portfolio-page .atlas-route.is-active,
body.om-portfolio-page .atlas-chip.is-active {
  border-color: #171717;
  background: #171717;
  color: #ffffff;
}

body.om-portfolio-page .atlas-case__title,
body.om-portfolio-page .atlas-card__title,
body.om-portfolio-page .atlas-method__item h3,
body.om-portfolio-page .atlas-cta h2,
body.om-portfolio-page .atlas-case__link,
body.om-portfolio-page .atlas-card__link {
  color: #171717;
}

body.om-portfolio-page .atlas-case__link,
body.om-portfolio-page .atlas-card__link {
  border-bottom-color: #171717;
}

body.om-portfolio-page .atlas-trust,
body.om-portfolio-page .atlas-cta,
body.om-portfolio-page #wb_LayoutGrid2 {
  border-top-color: #e2e2e2 !important;
}

body.om-portfolio-page .atlas-trust,
body.om-portfolio-page .atlas-trust__list li {
  border-bottom-color: #e2e2e2;
  color: #4d4d4d;
}

body.om-portfolio-page #LayoutGrid2.om-footer-bar .om-footer-social,
body.om-portfolio-page #LayoutGrid2.om-footer-bar .om-footer-social i {
  color: #171717 !important;
}

body.om-portfolio-page #LayoutGrid2.om-footer-bar .om-footer-copy {
  color: #6b6b6b !important;
}

body.om-portfolio-page #LayoutGrid2.om-footer-bar .om-footer-social {
  border-color: rgba(0, 0, 0, 0.14) !important;
  background: #ffffff !important;
}

body.om-portfolio-page #LayoutGrid2.om-footer-bar .om-footer-social:hover,
body.om-portfolio-page #LayoutGrid2.om-footer-bar .om-footer-social:focus-visible {
  border-color: rgba(0, 0, 0, 0.26) !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

.om-portfolio-atlas {
  color: var(--om-color-text, #242424);
  padding-top: 56px;
}

.atlas-shell {
  width: min(var(--om-shell, 1240px), calc(100% - 64px));
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.atlas-hero {
  min-height: min(68vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-block: 56px 120px;
}

.atlas-kicker {
  margin: 0;
  align-self: flex-start;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: #6d675f;
}

.atlas-hero__title {
  margin: 0 auto;
  width: 100%;
  max-width: 16em;
  box-sizing: border-box;
  font-family: var(--om-font-heading, "Montserrat", sans-serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--om-color-text, #242424);
  text-align: center;
}

.atlas-hero__intro {
  margin: 0;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.56;
  color: #35312d;
  max-width: 52ch;
  text-align: left;
}

.atlas-trust {
  margin-top: 0;
  border-top: 1px solid #d6d0c7;
  border-bottom: 1px solid #d6d0c7;
  padding: 16px 0;
}

.atlas-trust__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atlas-trust__list li {
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #4f4a44;
}

.atlas-data-warning {
  margin: 12px 0 0;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 12px;
  line-height: 1.5;
  color: #6d4a42;
}

.atlas-routing,
.atlas-featured,
.atlas-catalog,
.atlas-method {
  margin-top: 0;
  padding-top: 48px;
  padding-bottom: 88px;
}

.atlas-section-head h2,
.atlas-routing h2 {
  margin: 0 0 34px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #6d675f;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
}

.atlas-featured .atlas-section-head,
.atlas-featured .atlas-section-head h2 {
  text-align: left;
}

.atlas-routing__tabs {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.atlas-route {
  border: 1px solid #cfc8bf;
  background: transparent;
  color: #4b4742;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background-color 220ms ease;
}

.atlas-route:hover {
  border-color: #a49b90;
  color: #2f2c28;
}

.atlas-route.is-active {
  border-color: #1f1f1f;
  background: #1f1f1f;
  color: #fff;
}

.atlas-routing__chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.atlas-chip {
  border: 1px solid #d8d3cc;
  background: #fff;
  color: #5b5550;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background-color 220ms ease;
}

.atlas-chip:hover {
  border-color: #a49b90;
  color: #2f2c28;
}

.atlas-chip.is-active {
  border-color: #272727;
  background: #272727;
  color: #fff;
}

.atlas-featured__grid {
  margin-top: 0;
  display: grid;
  gap: 28px;
}

.atlas-featured__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.atlas-case {
  border: 1px solid #ddd6cc;
  background: #f8f5f0;
}

.atlas-case__media {
  display: block;
  background: #ece7df;
}

.atlas-case__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlas-case--large .atlas-case__media {
  aspect-ratio: 16 / 8.2;
}

.om-portfolio-page .atlas-featured__grid > .atlas-case--large .atlas-case__media,
.om-portfolio-page .portfolio-feature--sobytie.atlas-case--large .atlas-case__media {
  aspect-ratio: 27 / 20;
}

.om-portfolio-page .portfolio-feature--sobytie .atlas-case__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.atlas-case--medium .atlas-case__media {
  aspect-ratio: 4 / 3;
}

.atlas-case__body {
  padding: 20px 22px 22px;
}

.atlas-case__title {
  margin: 0;
  font-family: var(--om-font-heading, "Montserrat", sans-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #23201e;
}

.atlas-case__meta {
  margin: 12px 0 0;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #68625b;
}

.atlas-case__thesis {
  margin: 24px 0 0;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 15px;
  line-height: 1.62;
  color: #38342f;
}

.atlas-case__link {
  display: inline-block;
  margin-top: 24px;
  border-bottom: 1px solid #3a3530;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #2f2b27;
  text-decoration: none;
}

.atlas-section-head--catalog {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
}

.atlas-section-head--catalog h2 {
  margin: 0;
}

.atlas-catalog__meta {
  margin: 0;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #68625b;
}

.atlas-catalog__list {
  margin-top: 34px;
  display: grid;
  gap: 20px;
}

.atlas-card {
  border: 1px solid #ddd6cc;
  background: #fbf9f5;
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  min-height: 262px;
}

.atlas-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #ece7df;
}

.atlas-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlas-card__body {
  padding: 18px 20px 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.atlas-card__title {
  margin: 0;
  font-family: var(--om-font-heading, "Montserrat", sans-serif);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.25;
  color: #23201e;
}

.atlas-card__meta {
  margin: 68px 0 0;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
  color: #68625b;
}

.atlas-card__thesis {
  margin: 16px 0 0;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 15px;
  line-height: 1.52;
  color: #3a3631;
}

.atlas-card__issue {
  margin: 12px 0 0;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 12px;
  line-height: 1.45;
  color: #7a4f43;
}

.atlas-card__link {
  display: inline-block;
  margin-top: 16px;
  align-self: center;
  border-bottom: 1px solid #3a3530;
  text-decoration: none;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #2f2b27;
}

.atlas-method__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.atlas-method__item {
  border: 1px solid #ddd6cc;
  background: #f8f5f0;
  padding: 18px 18px 20px;
}

.atlas-method__item h3 {
  margin: 0;
  font-family: var(--om-font-heading, "Montserrat", sans-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.18;
  color: #23201e;
}

.atlas-method__item p {
  margin: 10px 0 0;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 15px;
  line-height: 1.62;
  color: #3a3631;
}

.atlas-cta {
  border-top: 1px solid #d6d0c7;
  margin-top: 0;
  padding-top: 68px;
  padding-bottom: 96px;
}

.atlas-cta h2 {
  margin: 0;
  font-family: var(--om-font-heading, "Montserrat", sans-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #23201e;
}

.atlas-cta p {
  margin: 12px 0 0;
  max-width: 62ch;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: #3e3933;
}

.atlas-cta__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.atlas-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #272727;
  padding: 0 16px;
  text-decoration: none;
  font-family: var(--om-font-body, "Manrope", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 220ms ease, color 220ms ease;
}

.atlas-cta__btn--primary {
  background: #232323;
  color: #fff;
}

.atlas-cta__btn--secondary {
  background: transparent;
  color: #232323;
}

.atlas-cta__btn:hover {
  background: #232323;
  color: #fff;
}

@media (max-width: 1100px) {
  .atlas-shell {
    width: min(var(--om-shell, 1240px), calc(100% - 44px));
  }

  .atlas-featured__pair,
  .atlas-method__grid {
    grid-template-columns: 1fr;
  }

  .atlas-card {
    grid-template-columns: 1fr;
  }

  .atlas-card__media {
    aspect-ratio: 4 / 3;
  }

  .om-portfolio-page .atlas-featured__grid > .atlas-case--large .atlas-case__media,
  .om-portfolio-page .portfolio-feature--sobytie.atlas-case--large .atlas-case__media {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1100px) {
  .om-portfolio-atlas {
    padding-top: 92px;
  }

  .atlas-hero {
    min-height: auto;
    justify-content: flex-start;
    padding-block: 80px 128px;
  }
}

@media (min-width: 901px) and (max-width: 1099px) {
  .om-portfolio-atlas {
    padding-top: 80px;
  }

  .atlas-hero {
    min-height: auto;
    padding-top: 80px;
  }
}

@media (max-width: 900px) {
  .om-portfolio-atlas {
    padding-top: 44px;
  }

  .atlas-hero {
    min-height: auto;
    gap: 18px;
    padding-block: 44px 88px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .om-portfolio-atlas {
    padding-top: 76px;
  }

  .atlas-hero {
    padding-top: 76px;
  }
}

@media (max-width: 640px) {
  .om-portfolio-atlas {
    padding-top: 44px;
  }

  .atlas-shell {
    width: calc(100% - 28px);
  }

  .atlas-hero {
    min-height: auto;
    padding-top: 44px;
  }

  .atlas-hero__title {
    max-width: 100%;
    font-size: var(--om-inner-h1-mobile, clamp(36px, 10vw, 40px));
    line-height: var(--om-inner-h1-line-mobile, 1.1);
    letter-spacing: 0;
  }

  .atlas-hero__intro {
    font-size: 18px;
    line-height: 1.56;
  }

  .atlas-section-head h2,
  .atlas-routing h2 {
    margin-bottom: 24px;
  }

  .atlas-routing,
  .atlas-featured,
  .atlas-catalog,
  .atlas-method {
    margin-top: 0;
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .atlas-cta {
    margin-top: 0;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .atlas-trust__list li {
    font-size: 12px;
  }

  .atlas-case__body,
  .atlas-card__body {
    padding: 16px;
  }
}
