/* ============================================
   SCENZ - Brand Design System & Homepage
   Brand Colors: ink / amber / copper / coral
   ============================================ */

/* --- CSS Variables --- */
:root {
  --scenz-dark: #10110f;
  --scenz-dark-2: #171917;
  --scenz-dark-3: #252824;
  --scenz-amber: #f5b08b;
  --scenz-copper: #bd7052;
  --scenz-coral: #e47754;
  --scenz-white: #f7f3eb;
  --scenz-gray: #b8b5ac;
  --scenz-gradient: linear-gradient(135deg, #f5b08b 0%, #bd7052 50%, #e47754 100%);
  --scenz-gradient-h: linear-gradient(90deg, #f5b08b, #bd7052, #e47754);
  --scenz-glow-amber: 0 0 20px rgba(228,119,84,.24), 0 0 60px rgba(228,119,84,.08);
  --scenz-glow-copper: 0 0 20px rgba(189,112,82,.23), 0 0 60px rgba(189,112,82,.08);
  --scenz-radius: 16px;
  --scenz-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Global Overrides --- */
body.scenz-page {
  background-color: var(--scenz-dark) !important;
  font-family: var(--scenz-font);
  overflow-x: hidden;
}
body.scenz-page.page .site-main { padding: 0 !important; }
body.scenz-page.page .content-area { max-width: 100% !important; }
body.scenz-page.page .entry-content { max-width: 100% !important; margin: 0 !important; }
body.scenz-page.page .entry-header { display: none !important; }

/* Force white text only inside SCENZ custom content (pages with custom HTML) */
body.scenz-page.page h1,
body.scenz-page.page h2,
body.scenz-page.page h3,
body.scenz-page.page h4,
body.scenz-page.page h5,
body.scenz-page.page h6,
body.scenz-page.page p,
body.scenz-page.page li,
body.scenz-page.page span,
body.scenz-page.page div,
body.scenz-page.page label,
body.scenz-page.page a {
  color: var(--scenz-white);
}
.scenz-hero__subtitle,
.scenz-section__desc,
.scenz-service-card__desc,
.scenz-stat__label,
.scenz-trends__text p,
.scenz-cta__desc {
  color: var(--scenz-gray) !important;
}
.scenz-section__label,
.scenz-service-card__tag,
.scenz-showcase__overlay span {
  color: var(--scenz-amber) !important;
}
.scenz-hero__badge {
  color: var(--scenz-amber) !important;
}

/* --- Particle Canvas --- */
#scenz-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Section Base --- */
.scenz-section {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.scenz-section--full {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* --- Gradient Text --- */
.scenz-gradient-text {
  background: var(--scenz-gradient-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Glow Line --- */
.scenz-glow-line {
  width: 80px;
  height: 3px;
  background: var(--scenz-gradient-h);
  border-radius: 3px;
  margin: 24px auto;
  box-shadow: var(--scenz-glow-amber);
}

/* ============================================
   HERO SECTION
   ============================================ */
.scenz-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  overflow: hidden;
}
.scenz-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(228,119,84,.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(189,112,82,.08) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(228,119,84,.05) 0%, transparent 50%);
  animation: scenz-hero-bg 12s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes scenz-hero-bg {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(8deg) scale(1.1); }
}

.scenz-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.scenz-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(228,119,84,.3);
  border-radius: 40px;
  font-size: 14px;
  color: var(--scenz-amber);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  background: rgba(228,119,84,.05);
  animation: scenz-fade-in 1s ease-out;
}
.scenz-hero__title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: scenz-slide-up .8s ease-out .2s both;
}
.scenz-hero__subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--scenz-gray);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 48px;
  animation: scenz-slide-up .8s ease-out .4s both;
}
.scenz-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--scenz-gradient);
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none !important;
  transition: transform .3s, box-shadow .3s;
  animation: scenz-slide-up .8s ease-out .6s both;
}
.scenz-hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(228,119,84,.3);
  color: #fff !important;
}

/* Scroll indicator */
.scenz-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--scenz-gray);
  font-size: 12px;
  letter-spacing: 2px;
  animation: scenz-bounce 2s infinite;
}
.scenz-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--scenz-amber), transparent);
}
@keyframes scenz-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.scenz-services {
  padding-top: 100px;
}
.scenz-section__label {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--scenz-amber);
  text-align: center;
  margin-bottom: 12px;
}
.scenz-section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}
.scenz-section__desc {
  text-align: center;
  color: var(--scenz-gray);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.scenz-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.scenz-service-card {
  position: relative;
  padding: 40px 32px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--scenz-radius);
  backdrop-filter: blur(12px);
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}
.scenz-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--scenz-gradient);
  opacity: 0;
  transition: opacity .4s;
  z-index: 0;
}
.scenz-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(228,119,84,.2);
  box-shadow: var(--scenz-glow-amber);
}
.scenz-service-card:hover::before { opacity: .06; }
.scenz-service-card > * { position: relative; z-index: 1; }

.scenz-service-card__icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}
.scenz-service-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--scenz-white);
}
.scenz-service-card__desc {
  font-size: 14px;
  color: var(--scenz-gray);
  line-height: 1.7;
}
.scenz-service-card__tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 1px;
  border: 1px solid rgba(228,119,84,.2);
  border-radius: 20px;
  color: var(--scenz-amber);
}

/* ============================================
   SHOWCASE / WORKS SECTION
   ============================================ */
.scenz-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.scenz-showcase__item {
  position: relative;
  border-radius: var(--scenz-radius);
  overflow: hidden;
  min-height: 220px;
  background: var(--scenz-dark-2);
  border: 1px solid rgba(255,255,255,.05);
  cursor: pointer;
  transition: transform .4s, box-shadow .4s;
}
.scenz-showcase__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.scenz-showcase__item:hover {
  transform: scale(1.02);
  box-shadow: var(--scenz-glow-copper);
}
.scenz-showcase__item:hover img { transform: scale(1.08); }
.scenz-showcase__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(to top, rgba(16,17,15,.95) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: all .4s;
}
.scenz-showcase__item:hover .scenz-showcase__overlay {
  transform: translateY(0);
  opacity: 1;
}
.scenz-showcase__overlay h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--scenz-white);
  margin: 0 0 4px;
}
.scenz-showcase__overlay span {
  font-size: 13px;
  color: var(--scenz-amber);
}

/* Placeholder for works */
.scenz-showcase__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--scenz-dark-3);
  gap: 12px;
}
.scenz-showcase__placeholder span {
  font-size: 13px;
  color: var(--scenz-gray);
  letter-spacing: 1px;
}

/* ============================================
   STATS / NUMBERS SECTION
   ============================================ */
.scenz-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.scenz-stat__number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 8px;
}
.scenz-stat__label {
  font-size: 14px;
  color: var(--scenz-gray);
  letter-spacing: 1px;
}

/* ============================================
   WHY AI / TRENDS SECTION
   ============================================ */
.scenz-trends__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}
.scenz-trends__text h3 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.scenz-trends__text p {
  color: var(--scenz-gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.scenz-trends__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.scenz-trends__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--scenz-white);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.scenz-trends__list li::before {
  content: '▹';
  color: var(--scenz-amber);
  font-size: 18px;
}
.scenz-trends__visual {
  position: relative;
  border-radius: var(--scenz-radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--scenz-dark-2);
  border: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scenz-trends__visual-inner {
  font-size: 120px;
  animation: scenz-float 6s ease-in-out infinite;
}
@keyframes scenz-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* ============================================
   CTA SECTION
   ============================================ */
.scenz-cta {
  text-align: center;
  padding: 80px 24px 40px;
}
.scenz-cta__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
}
.scenz-cta__desc {
  color: var(--scenz-gray);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */
.scenz-form-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 120px;
}
.scenz-form-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--scenz-radius);
  padding: 48px 40px;
  backdrop-filter: blur(12px);
}

/* Fluent Form Style Overrides */
.scenz-form-wrap .ff-el-input--label label {
  color: var(--scenz-white) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: .5px;
}
.scenz-form-wrap .ff-el-form-control {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 10px !important;
  color: var(--scenz-white) !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  transition: border-color .3s, box-shadow .3s !important;
}
.scenz-form-wrap .ff-el-form-control:focus {
  border-color: var(--scenz-amber) !important;
  box-shadow: 0 0 0 3px rgba(228,119,84,.1) !important;
  outline: none !important;
}
.scenz-form-wrap .ff-el-form-control::placeholder {
  color: rgba(255,255,255,.3) !important;
}
.scenz-form-wrap .ff-btn-submit {
  background: var(--scenz-gradient) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s !important;
  width: 100%;
}
.scenz-form-wrap .ff-btn-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(228,119,84,.25) !important;
}
.scenz-form-wrap .ff_el_checkable-li label {
  color: var(--scenz-gray) !important;
}
.scenz-form-wrap .ff-el-group { margin-bottom: 20px !important; }
.scenz-form-wrap textarea.ff-el-form-control {
  min-height: 120px !important;
  resize: vertical;
}
.scenz-form-wrap select.ff-el-form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2388a' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
}

/* ============================================
   FOOTER OVERRIDES
   ============================================ */
body.scenz-page.page footer,
body.scenz-page.page .site-footer {
  background: var(--scenz-dark) !important;
  border-top: 1px solid rgba(255,255,255,.05) !important;
}
body.scenz-page.page footer *,
body.scenz-page.page .site-footer * {
  color: var(--scenz-gray) !important;
}
body.scenz-page.page footer a:hover,
body.scenz-page.page .site-footer a:hover {
  color: var(--scenz-amber) !important;
}

/* ============================================
   HEADER OVERRIDES
   ============================================ */
body.scenz-page.page header[data-id="type-1"],
body.scenz-page.page .ct-header {
  background: rgba(16,17,15,.85) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255,255,255,.05) !important;
}
body.scenz-page.page .ct-header a,
body.scenz-page.page [data-id="menu"] a {
  color: var(--scenz-white) !important;
  transition: color .3s !important;
}
body.scenz-page.page .ct-header a:hover,
body.scenz-page.page [data-id="menu"] a:hover {
  color: var(--scenz-amber) !important;
}

/* Header CTA Button */
body.scenz-page.page .ct-header [data-id="button"] .ct-button {
  background: var(--scenz-gradient) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 8px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: .5px;
  transition: transform .3s, box-shadow .3s !important;
  white-space: nowrap;
}
body.scenz-page.page .ct-header [data-id="button"] .ct-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(228,119,84,.25) !important;
  color: #fff !important;
}

/* Header Logo text color */
body.scenz-page.page .ct-header .site-title,
body.scenz-page.page .ct-header .site-title a {
  color: var(--scenz-white) !important;
}

/* ============================================
   SIDEBAR (Archive / Category pages)
   ============================================ */
.ct-sidebar .ct-widget .wp-block-group {
  background: var(--scenz-dark) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: var(--scenz-radius) !important;
  padding: 24px !important;
}
.ct-sidebar .ct-widget .wp-block-group *,
.ct-sidebar .ct-widget .wp-block-group h3,
.ct-sidebar .ct-widget .wp-block-group p,
.ct-sidebar .ct-widget .wp-block-group div {
  color: var(--scenz-white) !important;
}
.ct-sidebar .ct-widget .wp-block-group a {
  color: var(--scenz-white) !important;
  transition: color .3s;
}
.ct-sidebar .ct-widget .wp-block-group a:hover {
  color: var(--scenz-amber) !important;
}
.ct-sidebar .ct-widget .wp-block-group .ct-dynamic-data[style*="font-size:13px"] {
  color: var(--scenz-gray) !important;
}

/* ============================================
   BLOG POST & ARCHIVE PAGES
   ============================================ */
.single-post .entry-content {
  color: var(--scenz-white);
}
.single-post .entry-header .page-title,
.single-post .entry-header h1 {
  color: var(--scenz-white);
}
.single-post .entry-meta,
.single-post .entry-meta a,
.single-post .post-navigation a {
  color: var(--scenz-gray);
}
.single-post .entry-content h2,
.single-post .entry-content h3 {
  color: var(--scenz-white);
}
.single-post .entry-content a {
  color: var(--scenz-amber);
}
.single-post .entry-content a:hover {
  color: var(--scenz-coral);
}
.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post .entry-content li {
  color: var(--scenz-white);
}
.single-post .entry-content .has-small-font-size {
  color: var(--scenz-gray);
}

/* ============================================
   RELATED POSTS (light background override)
   ============================================ */
.ct-related-posts-container {
  --theme-text-color: #3E3A39;
  --theme-headings-color: #121212;
  --theme-link-initial-color: #121212;
}
.ct-related-posts .ct-module-title {
  color: #121212 !important;
}
.ct-related-posts .related-entry-title,
.ct-related-posts .related-entry-title a {
  color: #121212 !important;
}
.ct-related-posts .entry-meta,
.ct-related-posts .entry-meta * {
  color: #3E3A39 !important;
}

/* ============================================
   BLOG ARCHIVE CARDS (light card background)
   ============================================ */
.entry-card .card-content .entry-title,
.entry-card .card-content .entry-title a {
  color: #121212 !important;
}
.entry-card .card-content .entry-excerpt {
  color: #3E3A39 !important;
}
.entry-card .card-content .entry-meta,
.entry-card .card-content .entry-meta * {
  color: #a8a59b !important;
}
.entry-card .card-content .entry-meta a {
  color: var(--scenz-amber) !important;
}

/* ============================================
   WORKS GALLERY (Masonry + Lightbox)
   ============================================ */
.scenz-gallery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.scenz-gallery__filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.scenz-gallery__filter {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 40px;
  background: transparent;
  color: var(--scenz-gray);
  font-size: 14px;
  font-family: var(--scenz-font);
  cursor: pointer;
  transition: all .3s;
  letter-spacing: .5px;
}
.scenz-gallery__filter:hover {
  border-color: rgba(228,119,84,.4);
  color: var(--scenz-white);
}
.scenz-gallery__filter.is-active {
  background: var(--scenz-gradient);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.scenz-gallery__grid {
  columns: 4 280px;
  column-gap: 16px;
}
.scenz-gallery__item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  padding: 2px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.scenz-gallery__item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--scenz-amber) 10%,
    var(--scenz-copper) 30%,
    var(--scenz-coral) 50%,
    var(--scenz-copper) 70%,
    var(--scenz-amber) 90%,
    transparent 100%
  );
  animation: scenz-border-spin 4s linear infinite;
  opacity: 0;
  transition: opacity .4s;
  z-index: 0;
}
.scenz-gallery__item:hover::before {
  opacity: 1;
}
@keyframes scenz-border-spin {
  to { transform: rotate(360deg); }
}
.scenz-gallery__item > img {
  position: relative;
  z-index: 1;
  border-radius: 10px;
}
.scenz-gallery__item > .scenz-gallery__item-overlay {
  z-index: 1;
}
.scenz-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(228,119,84,.15);
}
.scenz-gallery__item img {
  width: 100%;
  display: block;
  transition: filter .3s;
}
.scenz-gallery__item:hover img {
  filter: brightness(1.08);
}
.scenz-gallery__item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(16,17,15,.9) 0%, transparent 100%);
  opacity: 0;
  transition: opacity .3s;
}
.scenz-gallery__item:hover .scenz-gallery__item-overlay {
  opacity: 1;
}
.scenz-gallery__item-overlay span {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid rgba(228,119,84,.4);
  border-radius: 20px;
  color: var(--scenz-amber);
  letter-spacing: .5px;
}

/* Lightbox */
.scenz-lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 99999;
  background: rgba(16,17,15,.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.scenz-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.scenz-lightbox__inner {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  max-height: 90vh;
  padding: 24px;
  align-items: center;
}
.scenz-lightbox__img {
  max-height: 80vh;
  max-width: 55%;
  border-radius: 12px;
  object-fit: contain;
}
.scenz-lightbox__info {
  flex: 1;
  min-width: 280px;
  color: var(--scenz-white);
}
.scenz-lightbox__category {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--scenz-amber);
  margin-bottom: 12px;
}
.scenz-lightbox__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.scenz-lightbox__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.scenz-lightbox__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.scenz-lightbox__meta-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--scenz-gray);
}
.scenz-lightbox__meta-value {
  font-size: 14px;
  color: var(--scenz-white);
  line-height: 1.6;
}
.scenz-lightbox__prompt {
  font-size: 13px;
  color: var(--scenz-gray);
  line-height: 1.7;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 14px;
  max-height: 200px;
  overflow-y: auto;
}
.scenz-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: var(--scenz-white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.scenz-lightbox__close:hover {
  border-color: var(--scenz-amber);
  color: var(--scenz-amber);
}

@media (max-width: 768px) {
  .scenz-gallery__grid { columns: 2 150px; column-gap: 10px; }
  .scenz-gallery__item { margin-bottom: 10px; }
  .scenz-gallery__item-overlay { display: none; }
  .scenz-gallery__item::before { display: none; }
  .scenz-gallery__item:hover { transform: none; box-shadow: none; }
  .scenz-lightbox__inner { flex-direction: column; padding: 60px 16px 24px; gap: 20px; overflow-y: auto; }
  .scenz-lightbox__img { max-width: 100%; max-height: 50vh; }
  .scenz-lightbox__info { min-width: unset; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes scenz-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scenz-slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal */
.scenz-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.scenz-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   POST CTA
   ============================================ */
.scenz-post-cta {
  margin: 48px 0 0;
  padding: 40px 32px;
  background: var(--scenz-dark);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(228,119,84,.15);
}
.scenz-post-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--scenz-amber), var(--scenz-copper), var(--scenz-coral));
}
.scenz-post-cta__title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.scenz-post-cta__desc {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  margin: 0 0 24px;
  line-height: 1.6;
}
.scenz-post-cta__btn {
  display: inline-block;
  padding: 12px 36px;
  background: linear-gradient(135deg, var(--scenz-amber), var(--scenz-copper));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.scenz-post-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(228,119,84,.25);
  color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .scenz-section { padding: 80px 20px; }
  .scenz-services__grid { grid-template-columns: 1fr; }
  .scenz-showcase__grid {
    grid-template-columns: 1fr;
  }
  .scenz-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .scenz-trends__grid { grid-template-columns: 1fr; }
  .scenz-form-wrap { padding: 32px 24px; }
  .scenz-hero__scroll { display: none; }
}

/* ===========================================================================

/* ===========================================================================

/* ===========================================================================
   Archive entry-card hover frame — wraps the whole card with a rotating
   conic-gradient ring (matches AI gallery look). Uses mask-composite so the
   ring sits on top without touching card interior colours.
   =========================================================================== */
@property --scenz-grad-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes scenz-grad-rotate {
  to { --scenz-grad-angle: 360deg; }
}

.entries .entry-card {
  position: relative;
  transition: transform .3s ease, box-shadow .4s ease;
}

.entries .entry-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--scenz-grad-angle, 0deg),
    transparent 0%,
    var(--scenz-amber) 10%,
    var(--scenz-copper) 30%,
    var(--scenz-coral) 50%,
    var(--scenz-copper) 70%,
    var(--scenz-amber) 90%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 10;
}

.entries .entry-card:hover::after {
  opacity: 1;
  animation: scenz-grad-rotate 4s linear infinite;
}

.entries .entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(228,119,84, .18);
}

.entries .entry-card:hover .ct-media-container img {
  filter: brightness(1.05);
}

.entries .entry-card .ct-media-container img {
  transition: filter .3s ease;
}

/* ===========================================================================
   Section-level CTA buttons & supporting layouts for homepage / works page
   =========================================================================== */
.scenz-section-cta-wrap {
  text-align: center;
  margin-top: 48px;
}

.scenz-section-cta,
a.scenz-section-cta {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  background: var(--scenz-gradient);
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: .5px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  cursor: pointer;
  border: none;
}

.scenz-section-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--scenz-glow-amber);
  color: #fff !important;
}

/* Outline variant — for secondary CTAs */
.scenz-section-cta--outline,
a.scenz-section-cta--outline {
  background: transparent;
  border: 1.5px solid rgba(228,119,84, .45);
  color: var(--scenz-amber) !important;
}

.scenz-section-cta--outline:hover {
  background: rgba(228,119,84, .08);
  border-color: var(--scenz-amber);
  color: var(--scenz-amber) !important;
  box-shadow: var(--scenz-glow-amber);
}

/* Homepage showcase items rendered as anchor — neutralise default link styles */
a.scenz-showcase__item {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.scenz-showcase__item:hover,
a.scenz-showcase__item:visited,
a.scenz-showcase__item:focus {
  color: inherit;
  text-decoration: none;
}

/* Latest AI Trends section on homepage — let Blocksy posts archive render
   inside, our existing .entries .entry-card hover frame handles the styling. */
.scenz-trends-posts__wrap {
  margin-top: 48px;
}

.scenz-trends-posts__wrap .entries {
  margin: 0;
}

/* Keep selection legible across Blocksy pages. */
::selection { color: #10110f !important; background: #f5b08b !important; }
::-moz-selection { color: #10110f !important; background: #f5b08b !important; }

/* Restore a visible keyboard focus indicator after the site's older custom CSS. */
:focus-visible {
  outline: 2px solid #e47754 !important;
  outline-offset: 4px;
}

/* Blocksy-rendered pages (category archive, search, 404), 2026-09-25.
   The archive cards are cream: the brand orange was too faint for their 「閱讀全文」 links (2.6:1). */
.entry-card .entry-button { color: var(--theme-palette-color-2); }
.entry-card .entry-title { text-wrap: pretty; } /* no single character left on the last line */
.entry-card .entry-button:hover { color: var(--theme-palette-color-4); }
/* Header call to action: dark label on the orange button (white on orange was 2.8:1). */
.ct-header .ct-button { --theme-button-text-initial-color: var(--theme-palette-color-4); }

/* Motion plays for every visitor, including phones set to reduce motion (owner's decision, 2026-09-26). Blocksy only
   animates the archive card reveal and the button hover lift under `prefers-reduced-motion: no-preference`; these are
   the same rules (from blocksy/static/bundle/main.min.css 2.1.57) for visitors who asked for less motion. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition-property: opacity, transform; transition-duration: 1.5s; transition-timing-function: cubic-bezier(0.2, 1, 0.2, 1); }
  [data-reveal][data-reveal*=no] { opacity: .01; }
  [data-reveal][data-reveal*=yes] { opacity: 1; }
  [data-reveal][data-reveal*=bottom] { transform: translateY(100px); }
  [class*=entries] [data-reveal*="2"] { transition-delay: 0.3s; }
  [class*=entries] [data-reveal*="3"] { transition-delay: 0.6s; }
  [class*=entries] [data-reveal*="4"] { transition-delay: 0.9s; }
  [class*=entries] [data-reveal*="5"] { transition-delay: 1.2s; }
  [class*=entries] [data-reveal*="6"] { transition-delay: 1.5s; }
  [class*=entries] [data-reveal*="7"] { transition-delay: 1.8s; }
  [class*=entries] [data-reveal*="8"] { transition-delay: 2.1s; }
  [class*=entries] [data-reveal*="9"] { transition-delay: 2.4s; }
  [class*=entries] [data-reveal*="10"] { transition-delay: 2.7s; }
  [class*=entries] [data-reveal*="11"] { transition-delay: 3.0s; }
  [class*=entries] [data-reveal*="12"] { transition-delay: 3.3s; }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) {
  .button:hover, .ct-button:hover, .entry-tags a:hover, [type=submit]:hover, .wp-element-button:hover, .wp-block-button__link:hover, .fluentform .ff-el-group button.ff-btn:hover { transform: var(--theme-button-transform, translate3d(0, -3px, 0)); }
}
