/* =========================================================================
   Crisps Media Tech /portfolio premium UI
   Editorial Luxury × Asymmetrical Bento. Scoped under .cxp so nothing leaks
   to the rest of the site. Brand: Cormorant Garamond + Montserrat + Poppins,
   accent #FF5900. Techniques: double-bezel cards, island buttons, floating
   glass nav, grain, cinematic scroll reveals.
   ========================================================================= */

.cxp {
  --ink: #131313;
  --ink-soft: #3d3c39;
  --muted: #6b6b66;
  --paper: #f6f5f3;          /* near-neutral off-white (not cream) */
  --surface: #ffffff;        /* card core */
  --shell: rgba(19, 19, 19, 0.045);
  --hairline: rgba(19, 19, 19, 0.09);
  --accent: #ff5900;
  --accent-2: #f9801b;
  --accent-ink: #b83c00;
  --gold: #e8b029;

  --r-outer: 2rem;
  --r-inner: 1.6rem;
  --pill: 999px;

  --container: 1300px;
  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --soft-shadow: 0 34px 70px -34px rgba(19, 19, 19, 0.22);
  --lift-shadow: 0 44px 90px -40px rgba(19, 19, 19, 0.34);

  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

.cxp *, .cxp *::before, .cxp *::after { box-sizing: border-box; }
.cxp h1, .cxp h2, .cxp h3, .cxp p, .cxp figure, .cxp ul { margin: 0; padding: 0; }
.cxp ul { list-style: none; }
.cxp img { max-width: 100%; display: block; }
.cxp a { color: inherit; text-decoration: none; }

.cxp h1, .cxp h2, .cxp h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ink); font-weight: 700; line-height: 1.02;
  letter-spacing: -0.015em; text-wrap: balance;
}
.cxp h1 { font-size: clamp(3rem, 1.8rem + 6vw, 7rem); }
.cxp h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4.25rem); }
.cxp h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.cxp .em { color: var(--accent); font-style: italic; }

/* Fixed film-grain overlay (premium physical texture) */
.cxp__grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cxp__container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Eyebrow pill ---- */
.cxp__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "Poppins", sans-serif; font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink);
  background: rgba(255, 89, 0, 0.08); border: 1px solid rgba(255, 89, 0, 0.2);
  padding: 0.5rem 0.95rem; border-radius: var(--pill);
}
.cxp__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* =====================================================================
   FLOATING GLASS NAV
   ===================================================================== */
.cxp__nav {
  position: fixed; top: clamp(0.9rem, 2vw, 1.5rem); left: 50%; transform: translateX(-50%);
  z-index: 80; width: min(1120px, calc(100% - 2rem));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 1.4rem; border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.72); backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 50px -28px rgba(19, 19, 19, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.cxp__navLinks { display: flex; align-items: center; gap: 2rem; }
.cxp__navLinks a {
  font-family: "Poppins", sans-serif; font-size: 0.9rem; font-weight: 500; color: var(--ink);
  position: relative;
}
.cxp__navLinks a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--accent); transition: width 0.35s var(--ease); }
.cxp__navLinks a:hover::after { width: 100%; }
.cxp__navLogo img, .cxp__navLogo .custom-logo { height: 34px !important; width: auto !important; max-width: 150px; }
.cxp__navRight { display: flex; align-items: center; gap: 0.75rem; }

/* Island button (button-in-button). Default = refined GHOST (secondary). */
.cxp__island {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.9rem;
  background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); cursor: pointer;
  padding: 0.5rem 0.6rem 0.5rem 1.25rem; border-radius: var(--pill);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.cxp__island:hover { transform: translateY(-2px); border-color: rgba(19, 19, 19, 0.28); box-shadow: 0 16px 32px -20px rgba(19, 19, 19, 0.45); }
.cxp__island:active { transform: scale(0.98); }
.cxp__islandIcon {
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; color: #fff; font-size: 0.9rem;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.cxp__island:hover .cxp__islandIcon { transform: translate(3px, -3px) scale(1.06); }
.cxp__island--lg { padding: 0.62rem 0.72rem 0.62rem 1.6rem; font-size: 1rem; }
.cxp__island--lg .cxp__islandIcon { width: 2.5rem; height: 2.5rem; }
/* Primary — solid accent */
.cxp__island--accent { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 16px 32px -16px rgba(255, 89, 0, 0.5); }
.cxp__island--accent:hover { background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 22px 42px -16px rgba(255, 89, 0, 0.6); }
.cxp__island--accent .cxp__islandIcon { background: rgba(0, 0, 0, 0.22); }
/* For use on dark panels */
.cxp__island--onDark { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.cxp__island--onDark:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.6); }
.cxp__island--onDark .cxp__islandIcon { background: var(--accent); color: #fff; }

/* Hamburger (mobile) */
.cxp__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.cxp__burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform 0.45s var(--ease), opacity 0.3s var(--ease); }
.cxp__burger span:nth-child(1) { top: 17px; }
.cxp__burger span:nth-child(2) { top: 25px; }
.cxp.is-menu-open .cxp__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.cxp.is-menu-open .cxp__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Full-screen glass overlay menu */
.cxp__overlay {
  position: fixed; inset: 0; z-index: 75; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(246, 245, 243, 0.97); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.cxp.is-menu-open .cxp__overlay { opacity: 1; visibility: visible; }
.cxp__overlay a {
  font-family: "Cormorant Garamond", serif; font-size: clamp(2.2rem, 8vw, 3.5rem); color: var(--ink);
  font-weight: 700; opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}
.cxp__overlay a:hover { color: var(--accent); }
.cxp.is-menu-open .cxp__overlay a { opacity: 1; transform: none; }
.cxp.is-menu-open .cxp__overlay a:nth-child(1) { transition-delay: 0.12s; }
.cxp.is-menu-open .cxp__overlay a:nth-child(2) { transition-delay: 0.18s; }
.cxp.is-menu-open .cxp__overlay a:nth-child(3) { transition-delay: 0.24s; }
.cxp.is-menu-open .cxp__overlay a:nth-child(4) { transition-delay: 0.30s; }

/* =====================================================================
   HERO (Editorial Split)
   ===================================================================== */
.cxp__hero { padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.cxp__heroGrid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; }
.cxp__hero h1 { margin-top: 1.5rem; }
.cxp__heroAside { padding-bottom: 0.6rem; }
.cxp__heroAside p { color: var(--muted); font-size: 1.08rem; max-width: 34ch; }
.cxp__heroStats { display: flex; gap: 2.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.cxp__heroStat b { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; color: var(--ink); line-height: 1; display: block; }
.cxp__heroStat b .u { color: var(--accent); }
.cxp__heroStat span { font-family: "Poppins", sans-serif; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }

/* =====================================================================
   WHAT WE OFFER (editorial list inside a double-bezel panel)
   ===================================================================== */
.cxp__offer { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5.5rem); }
.cxp__offerHead { max-width: 58ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.cxp__offerHead h2 { margin-top: 1rem; }

.cxp__offerPanel {
  background: var(--shell); border: 1px solid var(--hairline);
  border-radius: var(--r-outer); padding: 0.55rem;
}
.cxp__offerCore {
  background: var(--surface); border-radius: var(--r-inner);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  padding: 0.25rem clamp(1rem, 3vw, 2.25rem);
}
.cxp__offerRow {
  display: grid; grid-template-columns: 3.25rem 1fr 1.15fr; gap: clamp(1rem, 2vw, 2rem);
  align-items: baseline; padding-block: clamp(1.4rem, 2.5vw, 2rem);
  border-top: 1px solid var(--hairline); transition: padding-left 0.45s var(--ease);
}
.cxp__offerRow:first-child { border-top: 0; }
.cxp__offerRow:hover { padding-left: 0.75rem; }
.cxp__offerNo { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; color: var(--accent); }
.cxp__offerTitle { color: var(--ink); }
.cxp__offerDesc { color: var(--muted); font-size: 0.98rem; }
.cxp__offerTags { margin-top: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.cxp__tag {
  font-family: "Poppins", sans-serif; font-size: 0.72rem; color: var(--muted);
  border: 1px solid var(--hairline); border-radius: var(--pill); padding: 0.32rem 0.8rem;
}

/* =====================================================================
   SOCIALS
   ===================================================================== */
.cxp__social { padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); text-align: center; border-top: 1px solid var(--hairline); }
.cxp__socialRow { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.cxp__socialLink {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: "Poppins", sans-serif; font-weight: 500; font-size: 0.9rem; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: var(--pill);
  padding: 0.55rem 0.55rem 0.55rem 1.2rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.cxp__socialLink:hover { transform: translateY(-2px); border-color: var(--ink); background: rgba(255,255,255,0.6); }
.cxp__socialIcon {
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--shell);
  display: grid; place-items: center; font-size: 0.78rem; color: var(--ink);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), color 0.4s var(--ease);
}
.cxp__socialLink:hover .cxp__socialIcon { background: var(--accent); color: #fff; transform: translate(2px, -2px); }

/* =====================================================================
   FILTER BAR
   ===================================================================== */
.cxp__filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.cxp__chip {
  font-family: "Poppins", sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--ink);
  background: transparent; border: 1px solid var(--hairline); cursor: pointer;
  padding: 0.6rem 1.2rem; border-radius: var(--pill);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.cxp__chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.cxp__chip:active { transform: scale(0.97); }
.cxp__chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =====================================================================
   PROJECT GRID (Asymmetrical Bento + Double-Bezel cards)
   ===================================================================== */
.cxp__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 1.8vw, 1.6rem); }

.cxp__card {
  grid-column: span 6;
  background: var(--shell); border: 1px solid var(--hairline); border-radius: var(--r-outer);
  padding: 0.55rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cxp__card:hover { transform: translateY(-6px); box-shadow: var(--lift-shadow); border-color: rgba(19,19,19,0.16); }
.cxp__card--lg { grid-column: span 7; }
.cxp__card--md { grid-column: span 5; }
.cxp__card--sm { grid-column: span 4; }
.cxp__card--xl { grid-column: span 8; }
.cxp__card--full { grid-column: span 12; }
.cxp__card--full .cxp__cardCore { aspect-ratio: 16 / 7; }

.cxp__cardCore {
  position: relative; border-radius: var(--r-inner); overflow: hidden; background: var(--surface);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6);
  aspect-ratio: 16 / 11; isolation: isolate;
}
.cxp__card--lg .cxp__cardCore { aspect-ratio: 16 / 12; }
.cxp__card--sm .cxp__cardCore { aspect-ratio: 4 / 5; }
.cxp__cardCore img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.cxp__card:hover .cxp__cardCore img { transform: scale(1.05); }
.cxp__cardCore::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,19,19,0) 55%, rgba(19,19,19,0.5) 100%); opacity: 0; transition: opacity 0.3s var(--ease); }
.cxp__card:hover .cxp__cardCore::after { opacity: 1; }

.cxp__cardCat {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  font-family: "Poppins", sans-serif; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: rgba(255,255,255,0.86); backdrop-filter: blur(6px);
  padding: 0.4rem 0.75rem; border-radius: var(--pill);
}
.cxp__cardArrow {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(6px);
  color: #fff; font-family: "Poppins", sans-serif; font-size: 1.1rem;
  opacity: 0; transform: translateY(-8px) rotate(-8deg); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cxp__card:hover .cxp__cardArrow { opacity: 1; transform: none; }

.cxp__cardCaption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0.9rem 0.7rem; }
.cxp__cardCaption h3 { color: var(--ink); text-transform: none; }
.cxp__cardCaption p { font-family: "Poppins", sans-serif; font-size: 0.82rem; color: var(--muted); text-align: right; }

.cxp__card.is-hidden { display: none; }

/* Device shot: full uncropped screenshot on a blurred, brand-tinted backdrop */
.cxp__cardCore--device { background: linear-gradient(160deg, #2a2521, #161514); }
.cxp__cardCore--device::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--shot); background-size: cover; background-position: center;
  filter: blur(34px) saturate(1.25) brightness(0.72); transform: scale(1.25);
}
.cxp__cardCore--device img {
  object-fit: contain;
  padding: clamp(1.1rem, 3vw, 1.9rem);
  z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5));
  border-radius: 4px;
}
.cxp__card:hover .cxp__cardCore--device img { transform: scale(1.03); }
/* keep the label chip readable over the dark backdrop */
.cxp__cardCore--device .cxp__cardCat { background: rgba(255, 255, 255, 0.92); }

/* =====================================================================
   CTA
   ===================================================================== */
/* Premium dark CTA panel (shared by home + portfolio for cohesion) */
.cxp__ctaSec { padding-block: clamp(3rem, 8vw, 6rem); }
.cxp__cta {
  position: relative; overflow: hidden; text-align: center;
  background: #17140f;
  background-image: radial-gradient(85% 130% at 50% -15%, rgba(255, 89, 0, 0.3), transparent 62%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-outer);
  padding: clamp(3.25rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
}
.cxp__cta::after {
  content: ""; position: absolute; left: 50%; bottom: -45%; width: 65%; height: 85%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 89, 0, 0.18), transparent 70%); pointer-events: none;
}
.cxp__cta > * { position: relative; z-index: 1; }
.cxp__cta .cxp__eyebrow { margin-inline: auto; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.cxp__cta h2 { color: #fff; margin: 1.4rem auto; max-width: 18ch; }
.cxp__cta p { color: rgba(255, 255, 255, 0.78); max-width: 46ch; margin: 0 auto; }
.cxp__ctaActions { display: flex; justify-content: center; margin-top: 2rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.cxp__footer { border-top: 1px solid var(--hairline); padding-block: 2.75rem; }
.cxp__footer .cxp__container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cxp__footLogo img, .cxp__footLogo .custom-logo { height: 30px !important; width: auto !important; }
.cxp__footer p { font-family: "Poppins", sans-serif; font-size: 0.8rem; color: var(--muted); }

/* =====================================================================
   TESTIMONIALS (double-bezel, editorial)
   ===================================================================== */
.cxp__testi { padding-block: clamp(4rem, 9vw, 7rem); }
.cxp__testiHead { margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.cxp__testiHead h2 { margin-top: 1.1rem; text-wrap: normal; }
.cxp__testiGrid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch; }
.cxp__testiRight { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }

.cxp__testiCard {
  position: relative; margin: 0;
  background: var(--shell); border: 1px solid var(--hairline); border-radius: var(--r-outer);
  padding: 0.55rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.cxp__testiCard:hover { transform: translateY(-4px); box-shadow: var(--soft-shadow); }
.cxp__testiInner {
  position: relative; overflow: hidden;
  background: var(--surface); border-radius: var(--r-inner);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  height: 100%; display: flex; flex-direction: column; gap: 1.15rem;
}
.cxp__testiStars { color: var(--gold); letter-spacing: 4px; font-size: 0.9rem; }
.cxp__testiQuote {
  font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--ink);
  line-height: 1.3; margin: 0; text-wrap: pretty; position: relative; z-index: 1;
}
.cxp__testiCard--feature .cxp__testiQuote { font-size: clamp(1.55rem, 1.1rem + 1.7vw, 2.4rem); }
.cxp__testiRight .cxp__testiQuote { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }
.cxp__testiCard--feature .cxp__testiInner::before {
  content: "\201C"; position: absolute; top: -0.28em; right: 0.12em;
  font-family: "Cormorant Garamond", serif; font-size: 11rem; line-height: 1;
  color: var(--accent); opacity: 0.1; pointer-events: none; z-index: 0;
}
.cxp__testiPerson { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; padding-top: 0.5rem; }
.cxp__testiAvatar {
  width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em;
  color: var(--accent-ink); background: rgba(255, 89, 0, 0.1); border: 1px solid rgba(255, 89, 0, 0.22);
}
.cxp__testiName b { color: var(--ink); font-weight: 600; display: block; font-family: "Poppins", sans-serif; font-size: 0.92rem; }
.cxp__testiName span { color: var(--muted); font-size: 0.82rem; }

/* =====================================================================
   SCROLL REVEAL (cinematic fade-up + de-blur)
   ===================================================================== */
/* Scroll reveal (transition-based: always lands on opacity:1 as a normal
   declaration, so content is never left hidden). Shorter 0.45s = snappier
   entrance, and it also tightens the card-lift that shares this transition. */
.cxp.cxp--js .cxp-reveal { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), filter 0.45s var(--ease); }
.cxp.cxp--js .cxp-reveal.is-in { opacity: 1; transform: none; filter: none; }
.cxp-reveal[data-d="1"] { transition-delay: 0.06s; }
.cxp-reveal[data-d="2"] { transition-delay: 0.12s; }
.cxp-reveal[data-d="3"] { transition-delay: 0.18s; }
.cxp-reveal[data-d="4"] { transition-delay: 0.24s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .cxp__card, .cxp__card--lg, .cxp__card--md, .cxp__card--sm, .cxp__card--xl { grid-column: span 6; }
  .cxp__card--full { grid-column: span 12; }
  .cxp__card--full .cxp__cardCore { aspect-ratio: 16 / 9; }
  .cxp__card--sm .cxp__cardCore { aspect-ratio: 16/11; }
}
@media (max-width: 820px) {
  .cxp__navLinks { display: none; }
  .cxp__navRight .cxp__island span:first-child { display: none; } /* condense CTA to icon on small */
  .cxp__navRight .cxp__island { padding: 0.5rem; }
  .cxp__burger { display: block; }
  .cxp__heroGrid { grid-template-columns: 1fr; align-items: start; }
  .cxp__heroAside { padding-bottom: 0; }
  /* Offer list: number + content stack */
  .cxp__offerRow { grid-template-columns: 2.5rem 1fr; row-gap: 0.5rem; }
  .cxp__offerRow > div { grid-column: 2; }
  .cxp__testiGrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cxp__grid { grid-template-columns: 1fr; }
  .cxp__card, .cxp__card--lg, .cxp__card--md, .cxp__card--sm, .cxp__card--xl, .cxp__card--full { grid-column: span 1; }
  .cxp__cardCore, .cxp__card--lg .cxp__cardCore, .cxp__card--sm .cxp__cardCore, .cxp__card--full .cxp__cardCore { aspect-ratio: 16/11; }
  .cxp__heroStats { gap: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cxp *, .cxp *::before, .cxp *::after { transition: none !important; animation: none !important; }
  .cxp.cxp--js .cxp-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* =========================================================================
   The shared site header (cmt-floating-header) blend now lives in the GLOBAL
   stylesheet assets/cmt-header.css, loaded on every page so the menu button and
   header look identical site-wide. See functions.php (adds `cxp-skin` globally).
   ========================================================================= */

/* =========================================================================
   Emil pass: touch guards for .cxp content (header guards are in cmt-header.css)
   ========================================================================= */
/* Neutralise transform-based hovers on touch devices (avoid stuck hover states) */
@media (hover: none) {
  .cxp__card:hover, .cxp__teaserCard:hover, .cxp__memberCard:hover,
  .cxp__island:hover, .cxp__chip:hover { transform: none; }
  .cxp__card:hover .cxp__cardCore img,
  .cxp__teaserCard:hover .cxp__cardCore img,
  .cxp__memberCard:hover .cxp__memberPhoto img { transform: none; }
}
