/* Content creation — extends style.css */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-page .site-header__nav a.is-active,
.content-page .site-nav-drawer__nav a.is-active {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.content-page {
  background: var(--white);
}

body.content-page .site-header {
  transform: translateY(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.content-page main > .section {
  min-height: 0;
  height: auto;
}

.content-page main {
  padding-bottom: 0;
}

.cc-wrap {
  width: min(1580px, calc(100% - 2 * var(--section-inline)));
  margin-inline: auto;
}

.cc-section__foot {
  display: flex;
  justify-content: center;
  padding-top: clamp(3rem, 7vh, 5rem);
}

.cc-back-top {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(-135deg);
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
}

.cc-back-top:hover,
.cc-back-top:focus-visible {
  opacity: 0.55;
  transform: rotate(-135deg) translateY(-3px);
}

.cc-back-top:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 6px;
}

/* Hero split (sizes/spacing in service-subpage.css) */
.cc-hero {
  background: var(--white);
}

.cc-hero__body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cc-hero__body a:hover {
  opacity: 0.55;
}

/* Video */
.cc-video {
  padding: 0;
  background: #0a0a0a;
}

/* cc-video full-bleed: service-subpage.css */

/* Full bleed image */
.cc-feature {
  padding: 0 var(--section-inline);
}

.cc-feature__img {
  width: min(1760px, 100%);
  margin-inline: auto;
}

.cc-feature__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Includes (module 4) */
.cc-includes {
  background: var(--white);
}

.cc-includes__title {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.cc-includes__col {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 4.5vh, 3.5rem);
}

.cc-block__heading {
  margin: 0 0 clamp(0.85rem, 1.8vh, 1.1rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
}


.cc-block__body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cc-block__body a:hover {
  opacity: 0.55;
}

/* Dark band */
.cc-dark {
  background: var(--black);
  color: var(--white);
}

.cc-dark__title {
  margin: 0 0 clamp(1.75rem, 3vh, 2.25rem);
  max-width: min(22rem, 100%);
}

.cc-dark__body {
  max-width: min(36rem, 100%);
}

/* Case study */
.cc-case {
  background: var(--white);
}

.cc-case__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5.5vw, 5rem);
  align-items: start;
}

.cc-case__brand {
  margin: 0 0 clamp(0.5rem, 1vh, 0.75rem);
  font-size: var(--sub-title-split);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cc-case__type {
  margin: 0 0 clamp(1.5rem, 3vh, 2rem);
  font-size: clamp(0.875rem, 1.15vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cc-case__body p {
  margin: 0 0 clamp(0.9rem, 1.6vh, 1.15rem);
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.72;
  color: #1a1a1a;
}

.cc-case__body p:last-child {
  margin-bottom: 0;
}

.cc-case__link {
  display: inline-block;
  margin-top: clamp(1.25rem, 2.5vh, 1.75rem);
  font-size: clamp(0.875rem, 1.15vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--black);
}

.cc-case__link:hover {
  opacity: 0.55;
}

/* cc-case video full-bleed: service-subpage.css */

/* Timeline */
.cc-timeline-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  margin-bottom: clamp(3rem, 8vh, 5rem);
}

.cc-timeline {
  position: relative;
  max-width: min(900px, 100%);
  margin-inline: auto;
  padding: 0 clamp(0.5rem, 2vw, 1.5rem);
  list-style: none;
}

.cc-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.14);
  transform: translateX(-50%);
}

.cc-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
}

.cc-timeline__item:last-child {
  margin-bottom: 0;
}

.cc-timeline__card {
  max-width: min(20rem, 100%);
}

.cc-timeline__item:nth-child(odd) .cc-timeline__card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
  padding-right: clamp(1.5rem, 4vw, 2.5rem);
}

.cc-timeline__item:nth-child(even) .cc-timeline__card {
  grid-column: 2;
  justify-self: start;
  text-align: left;
  padding-left: clamp(1.5rem, 4vw, 2.5rem);
}

.cc-timeline__item::after {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
  transform: translateX(-50%);
}

.cc-timeline__label {
  margin: 0 0 0.35rem;
  font-size: clamp(0.72rem, 0.9vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cc-timeline__name {
  margin: 0 0 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cc-timeline__text {
  color: #333;
}

/* FAQ */
.cc-faq__head {
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.cc-faq__intro {
  max-width: 28rem;
}

.content-page .accordion {
  border-top-color: rgba(0, 0, 0, 0.12);
}

.content-page .accordion__item {
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

/* accordion head: service-subpage.css */

.content-page .accordion__icon {
  border-right-color: var(--pink);
  border-bottom-color: var(--pink);
}

.content-page .accordion__panel {
  color: #333;
  max-width: 52rem;
}

/* CTA */
.cc-cta__body {
  display: flex;
  flex-direction: column;
  gap: var(--sub-gap-body);
}

.cc-cta__body a:not(.cc-cta__btn) {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cc-cta__body a:not(.cc-cta__btn):hover {
  opacity: 0.55;
}

.cc-cta__work-link {
  display: inline-block;
  margin-top: clamp(0.75rem, 1.5vh, 1rem);
  font-size: clamp(0.875rem, 1.15vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--black);
}

.cc-cta__work-link:hover {
  opacity: 0.55;
}

@media (max-width: 900px) {
  .cc-hero__grid,
  .cc-includes__grid,
  .cc-case__grid,
  .cc-timeline-head,
  .cc-faq__head,
  .cc-cta__grid {
    grid-template-columns: 1fr;
  }

  .cc-includes__title {
    position: static;
  }

  .cc-timeline::before {
    left: 0;
    transform: none;
  }

  .cc-timeline__item {
    grid-template-columns: 1fr;
    padding-left: 1.75rem;
  }

  .cc-timeline__item::after {
    left: 0;
    transform: translateX(-50%);
  }

  .cc-timeline__item:nth-child(odd) .cc-timeline__card,
  .cc-timeline__item:nth-child(even) .cc-timeline__card {
    grid-column: 1;
    justify-self: start;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .cc-case__grid {
    grid-template-columns: 1fr;
  }

  .cc-case__media .cc-video__el {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}
