/* Page-specific rules added per page task */

/* ── Home: Dark theme ───────────────────────────────────── */

.home-page {
  background: #171512;
  color: #fff;
}

.home-page .section {
  background: transparent;
}

.home-page .section-title,
.home-page .vm-card h2,
.home-page .service-card__body h3,
.home-page .expertise-item__title {
  color: #fff;
}

.home-page .vision-mission__card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.home-page .vision-mission__col p {
  color: rgba(255, 255, 255, 0.8);
}

.home-page .services {
  background: transparent;
}

.home-page .service-card {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.home-page .service-card:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36);
}

.home-page .service-card__body p {
  color: rgba(255, 255, 255, 0.78);
}

.home-page .expertise-item {
  border-color: rgba(255, 255, 255, 0.12);
}

.home-page .expertise-item__toggle {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.home-page .expertise-item__panel {
  background: rgba(255, 255, 255, 0.04);
}

.home-page .expertise-item__panel p {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Customization page: Dark theme ─────────────────────── */

.customization-page {
  background: #171512;
  color: #fff;
}

.customization-page .section {
  background: transparent;
}

.customization-page .section-title,
.customization-page .platform-card h3,
.customization-page .process-step h3,
.customization-page .offer h2 {
  color: #fff;
}

.customization-page .section-lead,
.customization-page .platform-card > p,
.customization-page .platform-card__list li,
.customization-page .process-step p {
  color: rgba(255, 255, 255, 0.8);
}

.customization-page .platform-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.customization-page .platform-card__list li::before {
  background: var(--brand-orange);
}

.customization-page .process-step__number {
  color: var(--brand-orange);
}

.customization-page .offer-tags li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.customization-page .gamification-value {
  background: transparent;
}

.customization-page .gamification-value__content .section-lead {
  color: rgba(255, 255, 255, 0.8);
}

.customization-page .gamification-value__media {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36);
}

/* ── Service pages: Dark theme ─────────────────────────── */

.sub-page-dark {
  background: #171512;
  color: #fff;
}

.sub-page-dark .section {
  background: transparent;
}

.sub-page-dark .section-title,
.sub-page-dark h2,
.sub-page-dark h3 {
  color: #fff;
}

.sub-page-dark .section-lead,
.sub-page-dark p,
.sub-page-dark .core-card p,
.sub-page-dark .platform-card > p,
.sub-page-dark .platform-card__list li,
.sub-page-dark .process-step p,
.sub-page-dark .case-study__body p,
.sub-page-dark .logo-story__body p,
.sub-page-dark .value-card p,
.sub-page-dark .checklist li {
  color: rgba(255, 255, 255, 0.8);
}

.sub-page-dark .octalysis {
  background: transparent;
}

.sub-page-dark .core-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-page-dark .core-card__kicker {
  color: var(--brand-orange);
}

.sub-page-dark .platform-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.sub-page-dark .platform-card__list li::before {
  background: var(--brand-orange);
}

.sub-page-dark .process-step__number {
  color: var(--brand-orange);
}

.sub-page-dark .case-study {
  background: transparent;
}

.sub-page-dark .case-study__body h3 {
  color: #fff;
}

.sub-page-dark .projects {
  background: transparent;
}

.sub-page-dark .project-card__title {
  color: #fff;
}

.sub-page-dark .project-card__tag {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-orange);
}

.sub-page-dark .vision-mission__card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.sub-page-dark .vision-mission__col p {
  color: rgba(255, 255, 255, 0.8);
}

.sub-page-dark .logo-story {
  background: transparent;
}

.sub-page-dark .logo-story__media {
  background: rgba(255, 255, 255, 0.06);
}

.sub-page-dark .logo-story__body h3 {
  color: var(--brand-orange);
}

.sub-page-dark .value-card {
  background: rgba(255, 255, 255, 0.06);
  border-top-color: var(--brand-orange);
}

.sub-page-dark .about-cta {
  background: linear-gradient(135deg, rgba(252, 109, 58, 0.9), rgba(255, 155, 22, 0.85));
}

.sub-page-dark .eyebrow {
  color: var(--brand-orange);
}

.sub-page-dark .has-dropdown .dropdown,
.customization-page .has-dropdown .dropdown {
  background: #1e1b18;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-page-dark .has-dropdown .dropdown a,
.customization-page .has-dropdown .dropdown a {
  color: #fff;
}

.sub-page-dark .has-dropdown .dropdown a:hover,
.customization-page .has-dropdown .dropdown a:hover {
  color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .sub-page-dark .nav-list,
  .customization-page .nav-list {
    background: #1e1b18;
    color: #fff;
  }

  .sub-page-dark .nav-list > li > a,
  .sub-page-dark .nav-list > li > button,
  .customization-page .nav-list > li > a,
  .customization-page .nav-list > li > button {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .sub-page-dark .has-dropdown .dropdown,
  .customization-page .has-dropdown .dropdown {
    background: transparent;
    border: none;
  }

  .sub-page-dark #site-nav:has(.nav-list.is-open),
  .customization-page #site-nav:has(.nav-list.is-open) {
    background: rgba(0, 0, 0, 0.45);
  }
}

/* ── Wedding page: Dreamy white/red theme ───────────────── */

.wedding-page {
  background: #fff9f9;
  color: #3a3a3a;
}

.wedding-page .section {
  background: transparent;
}

.wedding-page .page-hero--wedding {
  color: #fff;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 200, 200, 0.5), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 160, 160, 0.4), transparent 40%),
    linear-gradient(135deg, rgba(180, 80, 90, 0.55), rgba(220, 120, 130, 0.45)),
    url("../assets/images/Wedding/06.jpg");
  background-blend-mode: screen, screen, multiply, normal;
}

.wedding-page .page-hero--wedding::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 240, 240, 0.2), rgba(255, 220, 220, 0.1));
  pointer-events: none;
}

.wedding-page .page-hero__title,
.wedding-page .page-hero__tagline,
.wedding-page .page-hero__lead {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.wedding-page .section-title,
.wedding-page h2,
.wedding-page h3 {
  color: #8b2d3b;
}

.wedding-page .section-lead,
.wedding-page p,
.wedding-page .core-card p,
.wedding-page .checklist li {
  color: rgba(58, 58, 58, 0.85);
}

.wedding-page .core-card {
  background: #fff;
  border: 1px solid rgba(255, 180, 180, 0.4);
  box-shadow: 0 8px 24px rgba(139, 45, 59, 0.08);
}

.wedding-page .checklist li::before {
  background: #e06070;
}

.wedding-page .eyebrow {
  color: #e06070;
}

.wedding-editorial,
.wedding-ideas-visual {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.wedding-editorial img,
.wedding-ideas-visual img,
.wedding-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wedding-editorial img {
  max-height: 420px;
}

.wedding-collage {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: repeat(2, minmax(160px, 230px));
  gap: 1rem;
  margin-top: 2.5rem;
}

.wedding-collage__main {
  grid-row: 1 / 3;
}

.wedding-ideas-visual img {
  max-height: 380px;
}

.wedding-ribbon {
  display: block;
  width: min(560px, 70%);
  margin: 2rem auto 0;
}

@media (max-width: 700px) {
  .wedding-editorial,
  .wedding-ideas-visual,
  .wedding-collage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .wedding-collage__main {
    grid-row: auto;
  }

  .wedding-editorial img,
  .wedding-ideas-visual img,
  .wedding-collage img {
    height: clamp(210px, 60vw, 320px);
  }

  .wedding-ribbon {
    width: 80%;
    margin-top: 1.25rem;
  }
}

.wedding-page .site-header {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-bottom-color: rgba(139, 45, 59, 0.1);
}

.wedding-page .site-header::before {
  background: rgba(255, 255, 255, 0.92);
}

.wedding-page .nav-toggle {
  color: #1a1a1a;
}

.wedding-page .nav-list > li > a:hover,
.wedding-page .nav-list > li > button:hover,
.wedding-page .nav-list > li > a[aria-current="page"] {
  color: #e06070;
}

.wedding-page .lang-switch a:hover {
  color: #e06070;
}

@media (max-width: 900px) {
  .wedding-page .nav-list {
    background: #fff;
    color: var(--ink);
    box-shadow: 8px 0 24px rgba(58, 58, 58, 0.12);
  }

  .wedding-page .nav-list > li > a,
  .wedding-page .nav-list > li > button {
    border-bottom-color: rgba(58, 58, 58, 0.08);
  }

  .wedding-page .has-dropdown .dropdown {
    background: transparent;
    color: inherit;
    border: none;
  }

  .wedding-page .has-dropdown .dropdown a {
    color: inherit;
  }

  .wedding-page .has-dropdown .dropdown a:hover {
    color: #e06070;
    background: rgba(224, 96, 112, 0.08);
  }

  .wedding-page #site-nav:has(.nav-list.is-open) {
    background: rgba(58, 58, 58, 0.28);
  }
}

.wedding-page .site-footer {
  background: #fff;
  color: #3a3a3a;
  border-top: 1px solid rgba(255, 180, 180, 0.3);
}

.wedding-page .site-footer__brand p,
.wedding-page .site-footer__col a,
.wedding-page .site-footer__contact p {
  color: rgba(58, 58, 58, 0.78);
}

.wedding-page .site-footer__col a:hover {
  color: #e06070;
}

.wedding-page .site-footer__col h3 {
  color: #8b2d3b;
}

.wedding-page .site-footer__bottom {
  color: rgba(58, 58, 58, 0.55);
  border-top-color: rgba(255, 180, 180, 0.3);
}

/* Sparkle background animation */
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

.wedding-page .page-hero--wedding::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, #fff 1.5px, transparent 1.5px),
    radial-gradient(circle, #fff 1px, transparent 1px),
    radial-gradient(circle, #fff 2px, transparent 2px);
  background-size: 120px 120px, 80px 80px, 200px 200px;
  background-position: 0 0, 40px 60px, 20px 100px;
  animation: sparkle-twinkle 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

/* ── Home: Hero ─────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: #171512;
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 38%, rgba(255, 255, 255, 0.05), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 28px),
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(0, 0, 0, 0.6), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  padding-block: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--brand-orange);
  opacity: 1;
  background: rgba(252, 109, 58, 0.1);
  border: 1px solid rgba(252, 109, 58, 0.45);
  border-radius: 999px;
  padding: 0.5rem 1.35rem;
  margin: 0 0 1rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.hero__tags li {
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.hero__title {
  font-size: clamp(3rem, 4vw + 2.5rem, 6.5rem);
  font-weight: 700;
  line-height: 0.98;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
  color: #f4f1ec;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero__tagline {
  font-size: clamp(1.1rem, 1.4vw + 0.85rem, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  -webkit-text-stroke: 1px var(--brand-orange);
  margin: 0 0 1.5rem;
}

:lang(zh-HK) .hero__tagline,
.lang-zh .hero__tagline {
  text-transform: none;
  letter-spacing: 0.06em;
  -webkit-text-stroke: 0;
}

.hero__lead {
  font-size: clamp(1.05rem, 1vw + 0.85rem, 1.2rem);
  line-height: 1.7;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 2.25rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero__cta {
  gap: 0.6rem;
  padding: 1rem 1.9rem;
}

.hero__cta-arrow {
  font-size: 1.3rem;
  line-height: 1;
  transform: translateY(-1px);
}

.hero__scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero__scroll-cue:hover {
  color: #fff;
  transform: translateY(2px);
}

.hero__scroll-cue-icon {
  font-size: 0.7rem;
}

/* ── Home: Vision / Mission ─────────────────────────────── */

.vision-mission__card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-mission__col h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.6rem;
}

.vision-mission__col p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 700px) {
  .vision-mission__card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

/* ── Home: Services ─────────────────────────────────────── */

.services {
  background: #fafafa;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(58, 58, 58, 0.16);
}

.service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.service-card__body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.service-card__body p {
  margin: 0 0 1.1rem;
  color: rgba(58, 58, 58, 0.8);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.service-card__link {
  font-weight: 600;
  color: var(--brand-orange);
  align-self: flex-start;
}

.service-card__link:hover {
  color: var(--brand-orange-light);
}

/* ── Home: Our Expertise ────────────────────────────────── */

.expertise__list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expertise-item {
  border: 1px solid rgba(58, 58, 58, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.expertise-item__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.expertise-item__media {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
}

.expertise-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expertise-item__media--num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.expertise-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(252, 109, 58, 0.45);
}

.expertise-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 1.3rem;
  background: #000;
  border: 2px solid #fff;
}

.expertise-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
}

.expertise-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .expertise__grid {
    grid-template-columns: 1fr;
  }
}

.expertise-item__title {
  flex: 1;
  font-weight: 600;
  font-size: 1.05rem;
}

.expertise-item__icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--brand-orange);
  border-bottom: 2px solid var(--brand-orange);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.expertise-item__toggle[aria-expanded="true"] .expertise-item__icon {
  transform: rotate(-135deg);
}

.expertise-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
  background: #fdf6f2;
}

.expertise-item__panel p {
  min-height: 0;
  margin: 0;
  padding: 0 1.25rem 1.25rem calc(56px + 1rem + 1.25rem);
  color: rgba(58, 58, 58, 0.85);
  overflow: hidden;
}

.expertise-item__panel.is-open {
  grid-template-rows: 1fr;
}

@media (max-width: 540px) {
  .expertise-item__panel p {
    padding-left: 1.25rem;
  }
}

/* ── Home: Latest Projects ──────────────────────────────── */

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.project-card {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card__title {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

.lightbox-figure {
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.lightbox-figure h3 {
  margin: 0 0 0.5rem;
}

.lightbox-figure p {
  margin: 0;
  color: rgba(58, 58, 58, 0.8);
}

@media (max-width: 600px) {
  .hero__inner {
    padding-block: 3rem;
  }
}

/* ── Sub-page: Page Intro Hero ──────────────────────────── */

.page-hero {
  position: relative;
  color: #fff;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  padding-block: 5.5rem;
}

.page-hero--gamification {
  background-image:
    linear-gradient(135deg, rgba(252, 109, 58, 0.92), rgba(255, 155, 22, 0.85)),
    url("../assets/images/Hero/6fb198e2dd857cbeb77d5754d4086f80.png");
}

.page-hero--customization {
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.56)),
    url("../assets/images/Customization/00.jpg");
}

.page-hero--customization .page-hero__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.page-hero--customization .page-hero__lead {
  margin-inline: auto;
  margin-top: 0.25rem;
}

.page-hero__inner {
  max-width: 760px;
}

.page-hero__company {
  margin: 0 0 0.85rem;
}

.page-hero__title {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.page-hero__lead {
  font-size: clamp(1.05rem, 1vw + 0.85rem, 1.2rem);
  line-height: 1.7;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.section-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 62ch;
  color: rgba(58, 58, 58, 0.85);
  margin: 0 0 2.5rem;
}

/* ── Gamification value section (Customization page) ────── */

.gamification-value {
  background: #fafafa;
}

.gamification-value__grid {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 3rem;
  align-items: center;
}

.gamification-value__content .section-lead {
  text-align: left;
  margin-inline: 0;
}

.gamification-value__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gamification-value__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 4;
}

@media (max-width: 900px) {
  .gamification-value__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gamification-value__media img {
    aspect-ratio: 16 / 9;
  }
}

/* ── Gamification: Octalysis core-drive grid ────────────── */

.octalysis {
  background: #fafafa;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.core-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.core-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(58, 58, 58, 0.16);
}

.core-card__kicker {
  display: inline-block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 0.6rem;
}

.core-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.core-card p {
  margin: 0;
  color: rgba(58, 58, 58, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Process steps (Gamification "How We Apply It" /
     Customization "Development Process") ─────────────────── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.process-grid--six {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .process-grid--six {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .process-grid--six {
    grid-template-columns: 1fr;
  }
}

.process-step {
  position: relative;
  padding-top: 0.5rem;
}

.process-step__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(252, 109, 58, 0.25);
  margin-bottom: 0.75rem;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.process-step p {
  margin: 0;
  color: rgba(58, 58, 58, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Customization: Technology / engine cards ───────────── */

.engines {
  background: #fafafa;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.engine-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.engine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(58, 58, 58, 0.16);
}

.engine-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.engine-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.engine-card p {
  margin: 0;
  color: rgba(58, 58, 58, 0.8);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Customization: Multi-platform columns ──────────────── */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.platform-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: #fdf6f2;
  border-left: 4px solid var(--brand-orange);
}

.platform-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.platform-card > p {
  margin: 0 0 1.25rem;
  color: rgba(58, 58, 58, 0.85);
  line-height: 1.6;
}

.platform-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.platform-card__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: rgba(58, 58, 58, 0.85);
}

.platform-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
}

/* ── Customization: What We Offer ───────────────────────── */

.offer {
  background: #fafafa;
}

.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 2.5rem;
  padding: 0;
  list-style: none;
}

.offer-tags li {
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.offer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-ghost--light {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.btn-ghost--light:hover {
  background: rgba(252, 109, 58, 0.08);
}

/* ── Services dropdown: active-parent highlight ─────────── */

.has-dropdown.is-current > button {
  color: var(--brand-orange);
}

.dropdown a[aria-current="page"] {
  color: var(--brand-orange);
  background: rgba(252, 109, 58, 0.06);
}

/* ── Sub-page hero backgrounds: Events / Wedding / Education / Charity ── */

.page-hero--events {
  background-image:
    linear-gradient(135deg, rgba(58, 58, 58, 0.85), rgba(252, 109, 58, 0.82)),
    url("../assets/images/Hero/11062b_6f6ff1983e2e42e392a63d61bc67bf12_mv2.jpeg");
}

.page-hero--wedding {
  background-image:
    linear-gradient(135deg, rgba(58, 58, 58, 0.55), rgba(252, 109, 58, 0.72)),
    url("../assets/images/Wedding/06.jpg");
}

.page-hero--education {
  background-image:
    linear-gradient(135deg, rgba(58, 58, 58, 0.88), rgba(255, 155, 22, 0.78)),
    url("../assets/images/Hero/11062b_7893ded979a64569b9f1cb8fd68da774_mv2.jpg");
}

.page-hero--charity {
  background-image:
    linear-gradient(135deg, rgba(58, 58, 58, 0.85), rgba(252, 109, 58, 0.75)),
    url("../assets/images/Hero/11062b_11ad1d1d2ad1414595d51d2bda5ebd6e_mv2.jpeg");
}

.page-hero__tagline {
  font-size: clamp(1.05rem, 1.1vw + 0.85rem, 1.25rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.75rem;
}

/* ── Events: Case Study ─────────────────────────────────── */

.case-study {
  background: #fafafa;
}

.case-study__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

.case-study__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-study__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-study__body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.case-study__body p {
  margin: 0 0 1.25rem;
  color: rgba(58, 58, 58, 0.85);
  line-height: 1.7;
}

.case-study__subheading {
  color: var(--brand-orange);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.project-gallery__item {
  position: relative;
  display: flex;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.project-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-gallery__item:hover img {
  transform: scale(1.08);
}

.project-gallery__item::after {
  content: "⊕";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-gallery__item:hover::after {
  opacity: 1;
}

.project-gallery__item--placeholder {
  cursor: default;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
}

.project-gallery__item--placeholder::after {
  display: none;
}

.project-gallery__item--placeholder:hover img {
  transform: none;
}

.project-gallery__toggle {
  display: none;
  grid-column: 1 / -1;
  margin-top: 0.75rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease;
}

.project-gallery__toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.75rem;
  }

  .project-gallery.is-collapsed .project-gallery__item:nth-child(n+5) {
    display: none;
  }

  .project-gallery__toggle {
    display: block;
  }
}

@media (max-width: 540px) {
  .project-gallery {
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  .project-gallery__item {
    aspect-ratio: 16 / 10;
  }

  .project-gallery__item::after {
    font-size: 1.5rem;
  }
}

.case-study__media--gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 700px) {
  .case-study__media--gallery {
    grid-template-columns: 1fr;
  }
}

/* ── Wedding: feature checklist ─────────────────────────── */

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem 2rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.98rem;
  color: rgba(58, 58, 58, 0.88);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
}

/* ── Sub-page hero backgrounds: Projects / About ────────── */

.page-hero--projects {
  background-image:
    linear-gradient(135deg, rgba(58, 58, 58, 0.82), rgba(255, 155, 22, 0.8)),
    url("../assets/images/Hero/86bdcb_09de7bb6c10545c48210245fb4b70141_mv2.png");
}

.page-hero--about {
  background-image:
    linear-gradient(135deg, rgba(58, 58, 58, 0.88), rgba(252, 109, 58, 0.82)),
    url("../assets/images/Hero/98ede4_aee577dd89504e35b014935871c569f0_mv2.jpeg");
}

/* ── Projects: card tag + filter ────────────────────────── */

.project-card {
  text-align: left;
}

.project-card__tag {
  position: absolute;
  inset: 0.85rem auto auto 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.lightbox-figure__tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(252, 109, 58, 0.1);
  color: var(--brand-orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── About: Our Logo ────────────────────────────────────── */

.logo-story {
  background: #fafafa;
}

.logo-story__grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

.logo-story__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logo-story__media img {
  width: 100%;
  max-width: 260px;
  height: auto;
}

.logo-story__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: var(--brand-orange);
}

.logo-story__body p {
  margin: 0 0 1rem;
  color: rgba(58, 58, 58, 0.85);
  line-height: 1.75;
}

.logo-story__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .logo-story__grid {
    grid-template-columns: 1fr;
  }

  .logo-story__media {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ── About: Core Values ─────────────────────────────────── */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--brand-orange);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(58, 58, 58, 0.16);
}

.value-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.value-card p {
  margin: 0;
  color: rgba(58, 58, 58, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── About: CTA ──────────────────────────────────────────── */

.about-cta {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
  color: #fff;
  text-align: center;
}

.about-cta h2 {
  margin: 0 0 0.75rem;
  color: #fff;
}

.about-cta p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.about-cta .btn-primary {
  background: #fff;
  color: var(--brand-orange);
}

.about-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.about-cta .contact-info {
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-cta .contact-info p {
  margin: 0.35rem 0;
}

.about-cta .contact-info a {
  color: #fff;
  text-decoration: underline;
}

.about-cta .contact-info a:hover {
  color: rgba(255, 255, 255, 0.85);
}
