/* Codecyon site footer (custom/site-footer.js). Shared by the pages that load it. */
.cc-footer {
  --cc-cream: #f7f7ee;
  --cc-ink: #0b0b0b;
  --cc-mute: rgba(247, 247, 238, .55);
  --cc-line: rgba(247, 247, 238, .14);
  --cc-sans: NeueMontreal, Helvetica, Arial, sans-serif;     /* the page's own typefaces */
  --cc-serif: HWCigars, Georgia, "Times New Roman", serif;
  position: relative;
  z-index: 7;                      /* above the page layers and the fixed sidebar */
  width: 100%;
  background: var(--cc-ink);
  color: var(--cc-cream);
  font-family: var(--cc-sans);
  padding: clamp(64px, 9vw, 140px) clamp(16px, 5vw, 80px) 32px;
  overflow: clip;                  /* not "hidden": that shrinks the footer beside a page float on wide screens */
}
.cc-footer a { color: inherit; text-decoration: none; }
.cc-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc-footer a:focus-visible { outline: 2px solid var(--cc-cream); outline-offset: 3px; }

.cc-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: end;
  gap: 48px 32px;
  padding-bottom: clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--cc-line);
}
.cc-lead h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.02em;
}
.cc-lead h2 i, .cc-mark i { font-family: var(--cc-serif); font-weight: 400; }
.cc-lead p { margin: 0 0 28px; max-width: 34ch; color: var(--cc-mute); font-size: 16px; line-height: 1.45; }
.cc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--cc-cream); color: var(--cc-ink) !important;
  font-size: 15px; font-weight: 500;
}
.cc-cta:hover { text-decoration: none !important; opacity: .88; }
.cc-cta svg { width: 12px; height: 12px; }

.cc-col h3 {
  margin: 0 0 18px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cc-mute);
}
.cc-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cc-col li { font-size: 17px; line-height: 1.3; font-weight: 700; }
.cc-col .cc-num { display: inline-block; min-width: 2.2em; color: var(--cc-mute); font-family: var(--cc-serif); font-weight: 400; }
.cc-col a[aria-current="page"] { opacity: .55; }

.cc-mark {
  margin: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 56px);
  font-size: clamp(48px, 13vw, 240px);
  line-height: .86;
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.cc-mark i { letter-spacing: -.02em; }

.cc-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  font-size: 14px; color: var(--cc-mute);
}

/* the evolution line: hidden, then drawn in from left to right (a soft edge sweeps across) once it is in view */
.cc-evo { position: relative; width: 100%; aspect-ratio: 2172 / 724; }
.cc-evo-img {
  display: block; width: 100%; height: 100%; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;          /* the clear part of the mask covers the picture */
  transition: -webkit-mask-position 3.2s cubic-bezier(.45, .05, .35, 1), mask-position 3.2s cubic-bezier(.45, .05, .35, 1);
}
.cc-evo.is-drawn .cc-evo-img { -webkit-mask-position: 0 0; mask-position: 0 0; }
@media (prefers-reduced-motion: reduce) { .cc-evo-img { -webkit-mask-image: none; mask-image: none; transition: none; } }

@media (max-width: 1023px) {
  .cc-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .cc-mark { white-space: normal; }
}
