/* ui6.css: premium polish layer (visual only; loaded after ui5.css). Remove this file + its <link> to revert. */
:root {
  --p-radius: 18px;
  --p-shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -16px rgba(11, 18, 32, .18);
  --p-shadow-hover: 0 2px 4px rgba(11, 18, 32, .05), 0 28px 56px -22px rgba(11, 18, 32, .32);
  --p-gold-line: linear-gradient(90deg, var(--gold, #dcb877), rgba(220, 184, 119, 0));
}

/* Cards: soft depth, generous radius, gold-tinted hover lift */
.card, .why, .ind, .ind-card, .x-ind, .x-why-item, .deliver li, .sw-card, .proof-grid {
  border-radius: var(--p-radius) !important;
  box-shadow: var(--p-shadow) !important;
  border-color: rgba(11, 18, 32, .07) !important;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s !important;
}
.card:hover, .x-ind:hover, .ind-card:hover, .sw-card:hover, .why:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--p-shadow-hover) !important;
  border-color: rgba(185, 143, 69, .55) !important;
}
.faq details, details.reveal { border-radius: 14px !important; box-shadow: var(--p-shadow) !important; }
.shot { border-radius: 14px !important; }
.glyph, .x-ind-ico, .x-ico, .ind-card svg { border-radius: 12px !important; }

/* Section headings: gold hairline under the eyebrow, tighter display type */
.x-head h2, .section h2 { letter-spacing: -.025em; line-height: 1.12; }
.x-head .eyebrow, .x-head > div > .eyebrow { position: relative; }
.x-head h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 18px; border-radius: 3px; background: var(--p-gold-line); }
.x-head.center h2::after { margin-inline: auto; }

/* Hero stats strip: brighter numbers, gold divider glow */
.x-stats { border-color: rgba(220, 184, 119, .22); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06); }
.x-stats li { color: #c3cbda; }
.x-stats strong { background: linear-gradient(180deg, #fff, #c9d6f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-stats li:first-child strong { background: linear-gradient(180deg, #f3dba6, var(--gold-deep, #b98f45)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons: refined press + glow */
.btn { transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary, .btn-primary { box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .65); }

/* Floating contact rail: slimmer, calmer */
.crail { opacity: .96; box-shadow: 0 18px 40px -16px rgba(11, 18, 32, .35); border-radius: 16px; }

/* Hero mockup: soften clipped edges */
.hero-visual, .hero-art { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }

/* Alternate section tint for rhythm */
.section:nth-of-type(even):not(.dark):not([class*="hero"]) { background-image: linear-gradient(180deg, rgba(244, 246, 250, .7), rgba(244, 246, 250, 0) 40%); }

@media (prefers-reduced-motion: reduce) {
  .card:hover, .x-ind:hover, .ind-card:hover, .sw-card:hover, .why:hover, .btn:hover { transform: none !important; }
}

/* Empty state (portfolio with no case studies yet) */
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin: 8px auto 24px; padding: clamp(36px, 6vw, 72px) 24px; max-width: 760px; border-radius: 24px; border: 1px dashed rgba(185, 143, 69, .55); background: radial-gradient(120% 120% at 50% 0%, rgba(220, 184, 119, .14), rgba(244, 246, 250, .6) 60%); }
.empty-state .lead { margin: 0; font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--ink); }
.empty-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: var(--gold-text, #7a5a1c); background: #fff; box-shadow: var(--p-shadow); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.empty-actions .btn { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid rgba(11, 18, 32, .18); color: var(--ink); background: #fff; }
.empty-actions .btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(11, 18, 32, .6); }
