.creative-page {
  --creative-orange: #f4623a;
  --creative-orange-dark: #cf5331;
  --creative-dark: #212529;
  overflow: clip;
  background: #fff;
  color: var(--creative-dark);
  font-family: "Merriweather", serif;
}

.creative-page *,
.creative-page *::before,
.creative-page *::after { box-sizing: border-box; }

.creative-page h1,
.creative-page h2,
.creative-page h3,
.creative-page .creative-button {
  font-family: "Merriweather Sans", sans-serif;
  letter-spacing: normal;
}

.creative-page h1,
.creative-page h2,
.creative-page h3,
.creative-page p { margin-top: 0; }

.creative-container {
  width: min(100% - 3rem, 1320px);
  margin-inline: auto;
}

.creative-narrow { max-width: 820px; }
.creative-centred { text-align: center; }
.creative-section { padding: 8rem 0; }

.creative-nav {
  position: sticky;
  top: 88px;
  z-index: 40;
  min-height: 64px;
  display: flex;
  align-items: center;
  background: #5c4d42;
}

.creative-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.creative-nav-links a {
  padding-block: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font: 700 1rem "Merriweather Sans", sans-serif;
  text-decoration: none;
}

.creative-nav-links a:hover,
.creative-nav-links a:focus-visible {
  color: #fff;
}

.creative-masthead {
  min-height: calc(100vh - 88px);
  padding: 7rem 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(92, 77, 66, 0.8), rgba(92, 77, 66, 0.8)),
    url("/public/img/creative/bg-masthead.jpg") center / cover no-repeat;
}

.creative-hero-inner {
  min-height: 32rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.creative-hero-heading,
.creative-hero-copy { width: min(100%, 880px); }

.creative-masthead h1 {
  max-width: none;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.creative-masthead p {
  max-width: 760px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

.creative-divider {
  width: 3.25rem;
  height: 0.2rem;
  margin: 1.5rem auto;
  border: 0;
  background: var(--creative-orange);
  opacity: 1;
}

.creative-divider-light { background: #fff; }

.creative-button {
  min-height: 58px;
  padding: 1.15rem 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.creative-button-primary {
  background: var(--creative-orange);
  color: #fff;
}

.creative-button-primary:hover {
  background: var(--creative-orange-dark);
  color: #fff;
}

.creative-button-light {
  background: #fff;
  color: #212529;
}

.creative-button-light:hover {
  background: #e6e6e6;
  color: #212529;
}

.creative-about {
  background: var(--creative-orange);
  color: #fff;
}

.creative-about h2 { color: #fff; }

.creative-about h2,
.creative-download h2,
.creative-features > .creative-container > h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  text-align: center;
}

.creative-about-copy {
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

.creative-about-copy p { margin-bottom: 0; }

.creative-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.creative-feature {
  padding-top: 2rem;
  text-align: center;
}

.creative-feature-icon {
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

.creative-feature h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 400;
}

.creative-feature p {
  margin-bottom: 0;
  color: #6c757d;
  line-height: 1.6;
}

.creative-portfolio-grid {
  max-width: 1920px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.creative-portfolio-item {
  position: relative;
  display: block;
  overflow: hidden;
}

.creative-portfolio-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.creative-portfolio-caption {
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(244, 98, 58, 0.9);
  color: #fff;
  opacity: 0;
  text-align: center;
  transition: opacity 0.25s ease;
}

.creative-portfolio-caption small {
  color: rgba(255, 255, 255, 0.6);
  font: 600 0.85rem "Merriweather Sans", sans-serif;
  text-transform: uppercase;
}

.creative-portfolio-caption strong {
  font-size: 1.2rem;
  font-weight: 400;
}

.creative-portfolio-item:hover img,
.creative-portfolio-item:focus-visible img { transform: scale(1.03); }

.creative-portfolio-item:hover .creative-portfolio-caption,
.creative-portfolio-item:focus-visible .creative-portfolio-caption { opacity: 1; }

.creative-download {
  background: var(--creative-dark);
  color: #fff;
}

.creative-download h2 {
  margin-bottom: 1.75rem;
  color: #fff;
}

.creative-lightbox {
  width: min(94vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: #111;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.creative-lightbox::backdrop { background: rgba(0, 0, 0, 0.82); }

.creative-lightbox img {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
}

.creative-lightbox p {
  margin: 0;
  padding: 1rem 4rem 1rem 1.25rem;
  font-family: "Merriweather Sans", sans-serif;
}

.creative-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 940px) {
  .creative-feature-grid,
  .creative-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .creative-container { width: min(100% - 2rem, 1320px); }
  .creative-section { padding: 6rem 0; }

  .creative-nav { top: 78px; }
  .creative-nav-links {
    gap: 1.25rem;
    overflow-x: auto;
  }
  .creative-nav-links a {
    flex: 0 0 auto;
    font-size: 0.9rem;
  }

  .creative-masthead {
    min-height: calc(100vh - 78px);
    padding: 5rem 0;
  }

  .creative-hero-inner { min-height: 28rem; }

  .creative-feature-grid,
  .creative-portfolio-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .creative-page *,
  .creative-page *::before,
  .creative-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
