@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://ceeju.io/wp-content/themes/ceeju/assets/fonts/inter/Inter-upright-var.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("https://ceeju.io/wp-content/themes/ceeju/assets/fonts/inter/Inter-italic-var.woff2") format("woff2");
}

:root {
  --font-size: 14px;
  --line-height: 1.8;
  --background: #ffffff;
  --grey1: #111111;
  --grey2: #555555;
  --grey3: #999999;
  --wash1: #e5e5e5;
  --wash2: #f6f6f6;
  --profile-width: 330px;
  --entry-label-width: 115px;
  --entry-gap: 0px;
  --section-gap: 24.7px;
  --section-head-gap: 14px;
  --media-frame-width: 230px;
  --header-photo-size: 104px;
}

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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: var(--background);
  color: var(--grey1);
  font-family: "Inter", sans-serif;
  font-size: var(--font-size);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s, color 0.3s;
}

body[data-theme="dark"] {
  --background: #000000;
  --grey1: #ffffff;
  --grey2: #cfcfcf;
  --grey3: #8b8b8b;
  --wash1: #292929;
  --wash2: #101010;
}

a {
  color: inherit;
  text-decoration: none;
}

.cv-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: var(--grey2);
  transition: color 0.3s;
}

.cv-close:hover {
  color: var(--grey1);
}

.cv-close:focus,
.cv-close:focus-visible,
.cv-close:active {
  outline: none;
  box-shadow: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.js img[loading="lazy"] {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 320ms ease, transform 420ms ease;
  will-change: opacity, transform;
}

.js img[loading="lazy"].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.page {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 55px;
  padding: 70px 22px 24px;
  background-color: var(--background);
  transition: background-color 0.3s, color 0.3s;
}

.profile {
  width: var(--profile-width);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.profile-header {
  position: relative;
  display: block;
  width: 100%;
  height: var(--header-photo-size);
}

.profile-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--header-photo-size);
  height: var(--header-photo-size);
  border-radius: 100px;
}

.profile-photo__credit {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  padding: 5px 10px 6px;
  border-radius: 999px;
  background-color: #ffffff;
  color: #111111;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--tooltip-x, 0px), var(--tooltip-y, 0px), 0);
  transition: opacity 0.16s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.profile-photo.is-credit-visible .profile-photo__credit {
  opacity: 1;
}

.profile-photo__image {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 100px;
  background-color: transparent;
}

.profile-photo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.profile-header__content {
  position: absolute;
  left: var(--entry-label-width);
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
}

.profile-header h1 {
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

.profile-byline {
  margin-top: 1px;
  color: var(--grey2);
  line-height: 1.8;
}

.profile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.profile-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 2px 10px 3px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
}

.profile-pill--muted {
  background-color: var(--wash2);
  color: #6d6d6d;
}

.profile-pill--work {
  background-color: #16a34a;
  color: #ffffff;
}

.profile-pill--work:hover {
  background-color: #15803d;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--section-head-gap);
}

.profile-section h2,
.profile-footer__title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.profile-copy,
.profile-footer__list {
  width: 100%;
}

.profile-copy--entry {
  width: 100%;
}

.profile-copy p {
  color: var(--grey2);
  white-space: normal;
}

.profile-copy p + p {
  margin-top: calc(var(--font-size) * var(--line-height));
}

.entry {
  display: flex;
  align-items: flex-start;
  gap: var(--entry-gap);
  width: 100%;
}

.entry + .entry {
  margin-top: var(--section-gap);
}

.entry-label {
  width: var(--entry-label-width);
  flex-shrink: 0;
  color: var(--grey3);
  font-variant-numeric: tabular-nums;
}

.entry-content {
  width: calc(100% - var(--entry-label-width));
  min-width: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.entry-title,
.entry-link {
  color: var(--grey1);
}

.entry-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.entry-link:hover,
.entry-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.entry-arrow {
  color: var(--grey1);
  display: inline-flex;
  align-items: center;
}

.entry-meta,
.entry-copy {
  color: var(--grey2);
}

.entry-meta--block {
  width: 100%;
  white-space: normal;
}

.entry-copy {
  margin-top: 2px;
}

.entry + .entry--gallery {
  margin-top: 10px;
}

.entry + .entry--video {
  margin-top: 10px;
}

.entry + .entry--image {
  margin-top: 10px;
}

.entry-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.entry-gallery__item {
  width: var(--media-frame-width);
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--background);
}

.entry-gallery__item a {
  display: block;
  width: 100%;
  height: 100%;
}

.entry-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.entry-video-frame {
  width: 100%;
  max-width: var(--media-frame-width);
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;
}

.entry-video {
  display: block;
  width: 100%;
  height: auto;
}

.entry-video-link {
  display: block;
  width: 100%;
  height: 100%;
}

.entry-mobile-link {
  display: none;
  margin-top: 10px;
}

.entry-image-frame {
  width: 100%;
  max-width: var(--media-frame-width);
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--background);
}

.entry-media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.entry--signoff {
  margin-top: 20px;
}

.entry-meta--signoff {
  color: var(--grey1);
}

.entry-signature {
  width: 140px;
  max-width: 100%;
  height: auto;
  margin-top: -14px;
  margin-left: -20px;
}

body[data-theme="dark"] .entry-signature {
  filter: invert(1) brightness(1.05);
}

@media (min-width: 730px) {
  :root {
    --profile-width: 900px;
    --entry-label-width: 130px;
    --header-photo-size: 116px;
  }

  .cv-close {
    top: 62px;
    right: 62px;
  }

  .page {
    padding: 82px 62px;
  }

  .profile {
    gap: 55px;
  }
}

@media (max-width: 480px) {
  .entry {
    flex-direction: column;
  }

  .entry + .entry {
    margin-top: 20px;
  }

  .entry-label,
  .entry-content {
    width: 100%;
  }

  .entry-gallery {
    flex-direction: column;
  }

  .entry-gallery__item {
    width: 100%;
    max-width: none;
  }

  .entry-video-frame,
  .entry-image-frame {
    max-width: none;
  }

  .entry-mobile-link {
    display: block;
  }

  .entry-video-link {
    pointer-events: none;
  }

  .profile-photo__credit {
    display: none;
  }
}
