/* Dark collaboration cards contrast with Cxstiillo's light section. */
#cxstiillo .collab-card {
  --bg: #1c1e20;
  --ink: #fff;
  --muted: #d1d3d6;
  --line: #3d4146;
  --collab-button-bg: #fff;
  --collab-button-ink: #17191b;
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}
#cxstiillo .collab-card .work-top { color: var(--muted); }
#cxstiillo .collab-card .collab-logo { filter: grayscale(1) brightness(0) invert(1); }
#cxstiillo .profile-contact .button {
  background: #ff5757;
  border-color: #ff5757;
  color: #17191b;
}
#cxstiillo .profile-contact .button:hover {
  background: #ff7373;
  border-color: #ff7373;
  color: #17191b;
}

/* The same four-pixel lift and soft shadow as Astron's cards and buttons. */
:root { --interaction-shadow: 0 14px 32px #17191b12; }
html[data-theme="dark"], .about-surface, .kasty-surface, .press-surface {
  --interaction-shadow: 0 14px 32px #00000038;
}
.astron-surface { --interaction-shadow: 0 14px 32px #17191b12; }
:root :is(button, .button, a.text-button, a.contact-whatsapp, [role="button"],
  .hero-surface, .project-index > a, .socials a, .work-card, .more-brands,
  .astron-referral-card, .astron-client-impact, .astron-preview-card, .press-card, .contact-grid article,
  .legal-tabs a, .legal-details) {
  transition: transform 220ms ease, box-shadow 220ms ease,
    background 180ms ease, color 180ms ease, border-color 180ms ease;
}
a.text-button { display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  :root :is(button, .button, a.text-button, a.contact-whatsapp, [role="button"],
    .hero-surface, .project-index > a, .socials a, .work-card, .more-brands,
    .astron-referral-card, .astron-client-impact, .astron-preview-card, .press-card, .contact-grid article,
    .legal-tabs a, .legal-details):not(:disabled):not([aria-disabled="true"]):hover {
    transform: translateY(-4px);
    box-shadow: var(--interaction-shadow);
  }
}
:root :is(button, .button, a.text-button, a.contact-whatsapp, [role="button"],
  .project-index > a, .socials a, .work-card, .astron-preview-card, .press-card,
  .legal-tabs a):not(:disabled):not([aria-disabled="true"]):focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--interaction-shadow);
}
@media (hover: none), (pointer: coarse) {
  :root :is(.work-card, .astron-preview-card):hover:not(:active):not(:focus-visible) {
    transform: none;
    box-shadow: none;
  }
  :root :is(button, .button, a.text-button, a.contact-whatsapp, [role="button"],
    .project-index > a, .socials a, .work-card, .astron-preview-card, .press-card,
    .legal-tabs a):not(:disabled):not([aria-disabled="true"]):active {
    transform: translateY(-2px);
    box-shadow: var(--interaction-shadow);
  }
}
.form-field-error { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--focus); }
.form-field [aria-invalid="true"], .form-consent [aria-invalid="true"] { border-color: var(--focus); outline-color: var(--focus); }
@media (prefers-reduced-motion: reduce), print {
  :root :is(button, .button, a.text-button, a.contact-whatsapp, [role="button"],
    .hero-surface, .project-index > a, .socials a, .work-card, .more-brands,
    .astron-referral-card, .astron-client-impact, .astron-preview-card, .press-card, .contact-grid article,
    .legal-tabs a, .legal-details) {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Astron's client results sit within its portfolio section. */
.astron-client-impact{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) 48px;align-items:center;gap:24px;padding:28px 30px;border:1px solid #3d4146;border-radius:10px;background:#181b1e;color:#fff}
.astron-client-impact-number{min-width:0}
.astron-client-impact-number>span{display:block;font-size:.875rem;line-height:1.5;color:#d5d6d9;margin-bottom:4px}
.astron-client-impact-number>strong{display:block;font-family:Manrope,Arial,sans-serif;font-size:clamp(3rem,6.5vw,5.5rem);font-weight:600;line-height:1.05;letter-spacing:-.065em;white-space:nowrap;font-variant-numeric:tabular-nums;color:#ff5757}
.astron-client-impact-text{min-width:0}
.astron-client-impact-text p{font-size:clamp(1.25rem,2.1vw,1.75rem);line-height:1.35;letter-spacing:-.025em;color:#fff}
.astron-client-impact-text p strong{font-weight:600}
.astron-client-impact-text>span{display:block;margin-top:10px;font-size:.8125rem;line-height:1.6;color:#c2c5ca}
.astron-client-impact-icon{width:48px;height:48px;color:#ff5757}
@media(max-width:850px){.astron-client-impact{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:24px;gap:20px}.astron-client-impact-icon{display:none}.astron-client-impact-number>strong{font-size:clamp(3rem,7vw,5rem)}}
@media(max-width:650px){.astron-client-impact{grid-template-columns:minmax(0,1fr);padding:22px 18px;gap:16px}.astron-client-impact-number>strong{font-size:clamp(2.5rem,13vw,4.5rem)}.astron-client-impact-text p{font-size:1.25rem}.astron-client-impact-text>span{font-size:.75rem}}

.astron-client-impact-number>strong>.astron-client-impact-plus{color:#fff;font:inherit;letter-spacing:inherit}
