/* Elva page template — scoped marketing styles (features). Fonts inherit the theme system stack (Gilroy retired v3.5.0). */
.elva-pg{
  --ai-1:#FFB7A8; --ai-2:#FFA9C9; --ai-g1:#C9B6FF; --ai-g2:#AFC8FF;
  --dur-fast:0.12s; --dur-med:0.4s;
  --gold-tint:rgba(192,137,46,0.14); --info-tint:rgba(91,141,239,0.12);
  --success-tint:rgba(47,138,91,0.12); --terracotta-tint:rgba(199,90,63,0.14);
  --grad-ink:linear-gradient(160deg,var(--sage-1),var(--sage-0));
  --sh-4:0 40px 90px -40px rgba(20,20,30,0.42),0 4px 12px rgba(20,20,30,0.07);
  --star:#E8A93C;
}
.elva-pg,.elva-pg *{box-sizing:border-box;}

/* neutralizers — cancel blog global generic-class leaks inside page templates */
.elva-pg .section-head{display:block;margin-bottom:0;}
.elva-pg .cta{max-width:none;margin:0;}

/* ===== base utilities ===== */
.elva-pg *{ box-sizing: border-box; -webkit-font-smoothing: antialiased; }
.elva-pg{ scroll-behavior: smooth; }
.elva-pg,.elva-pg{ margin: 0; padding: 0; }
.elva-pg{
  background: var(--cream-0); color: var(--ink-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.elva-pg button,.elva-pg input,.elva-pg textarea,.elva-pg select{ font-family: inherit; }
.elva-pg a{ color: inherit; text-decoration: none; }
.elva-pg ::selection{ background: var(--ai-tint); }
.elva-pg :focus-visible{ outline: 2px solid var(--ai-4); outline-offset: 2px; }
.elva-pg .elva-spectrum{
  background: var(--grad-spectrum);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.elva-pg .elva-live{ position: relative; display: inline-flex; width: 8px; height: 8px; flex: none; }
.elva-pg .elva-live::before{ content: ''; position: absolute; inset: 0; border-radius: 999px; background: var(--ai-3); box-shadow: 0 0 8px var(--ai-3); }
.elva-pg .elva-live::after{ content: ''; position: absolute; inset: -2px; border-radius: 999px; border: 1.5px solid var(--ai-3); animation: elva-pulse 2.4s cubic-bezier(0.4,0,0.2,1) infinite; }
@keyframes elva-pulse{ 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }

/* ===== components ===== */
.elva-pg{ overflow-x: hidden; }
.elva-pg .wrap-wide{ max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.elva-pg h1,.elva-pg h2,.elva-pg h3,.elva-pg h4{ font-family: var(--font-display); letter-spacing: var(--tracking-tight); color: var(--ink-0); margin: 0; line-height: 1.06; font-weight: 600; }
.elva-pg p{ margin: 0; }
.elva-pg .eyebrow{
  font-family: var(--font-mono); font-size:12.5px; font-weight: 500;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 12px;
}
.elva-pg .btn{
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-body); font-weight: 550; font-size:16px; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), background var(--dur-fast);
  white-space: nowrap;
}
.elva-pg .btn .ico{ width: 17px; height: 17px; }
.elva-pg .btn-primary{ background: var(--sage-0); color: #fff; box-shadow: var(--sh-btn); }
.elva-pg .btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(20,20,30,.7); }
.elva-pg .btn-ghost{ background: transparent; color: var(--ink-0); border-color: var(--cream-shadow); }
.elva-pg .btn-ghost:hover{ background: rgba(0,0,0,.04); }
.elva-pg .ico{ width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.elva-pg .brand{ display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.04em; color: var(--ink-0); }
.elva-pg .brand-mark{ width: 26px; height: 26px; border-radius: 7px; background: var(--grad-spectrum); display: grid; place-items: center; box-shadow: 0 4px 12px -4px rgba(155,92,255,.5); }
.elva-pg .brand-mark::after{ content:''; width: 10px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.92); }
.elva-pg .f-hero{ position: relative; padding: 84px 0 0; text-align: center; overflow: visible; }
.elva-pg .f-hero-glow{ position: absolute; top: -260px; left: 50%; transform: translateX(-50%); width: 760px; height: 600px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 200deg at 50% 50%, var(--ai-1), var(--ai-2), var(--ai-g1), var(--ai-g2), var(--ai-5), var(--ai-1));
  filter: blur(130px); opacity: .22; }
.elva-pg .f-hero .eyebrow{ justify-content: center; }
.elva-pg .f-hero h1{ position: relative; font-size: clamp(40px, 5vw, 64px); margin: 22px auto 0; max-width: 17ch; }
.elva-pg .f-hero-lead{ position: relative; font-size: 18px; line-height: 1.55; color: var(--ink-2); margin: 22px auto 0; max-width: 56ch; text-wrap: pretty; }
.elva-pg .cat-cards{ position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1080px; margin: 48px auto 0; padding: 14px; background: #fff; border: 1px solid var(--cream-2); border-radius: var(--r-2xl); box-shadow: var(--sh-3); text-align: left; }
.elva-pg .cat-card{ display: flex; flex-direction: column; gap: 12px; padding: 20px 18px 18px; border-radius: var(--r-xl); background: var(--cream-0); border: 1px solid var(--cream-2); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-fast); }
.elva-pg .cat-card:hover{ transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--cream-shadow); }
.elva-pg .cat-card .ci{ width: 38px; height: 38px; border-radius: 11px; background: #fff; border: 1px solid var(--cream-2); display: grid; place-items: center; color: var(--ink-1); }
.elva-pg .cat-card:nth-child(1) .ci{ background: rgba(255,169,201,.22); border-color: transparent; color: #D1487F; }
.elva-pg .cat-card:nth-child(2) .ci{ background: rgba(91,141,239,.15); border-color: transparent; color: #3D6FD6; }
.elva-pg .cat-card:nth-child(3) .ci{ background: rgba(155,92,255,.13); border-color: transparent; color: #8A4BE8; }
.elva-pg .cat-card .ci svg{ width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.elva-pg .cat-card h3{ font-size: 16px; }
.elva-pg .cat-card p{ font-size:13.5px; color: var(--ink-2); line-height:1.5; }
.elva-pg .cat-card .go{ margin-top: auto; font-size:13.5px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.elva-pg .cat-card .go svg{ width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-fast); }
.elva-pg .cat-card:hover .go svg{ transform: translateX(3px); }
.elva-pg .cat-card.dso{ background: var(--sage-0); border-color: var(--sage-1); }
.elva-pg .cat-card.dso h3{ color: #fff; }
.elva-pg .cat-card.dso p{ color: rgba(255,255,255,.62); }
.elva-pg .cat-card.dso .ci{ background: rgba(63,184,168,.2); border-color: transparent; color: #5FD4C4; }
.elva-pg .cat-card.dso .go{ color: rgba(255,255,255,.75); }
.elva-pg .catbar{
  position: sticky; top: 0; z-index: 95; margin-top: 56px;
  background: rgba(245,245,247,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--cream-2);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.elva-pg .catbar.show{ opacity: 1; transform: none; pointer-events: auto; }
.elva-pg .catbar-inner{ display: flex; align-items: center; gap: 6px; height: 54px; }
.elva-pg .catbar-label{ font-family: var(--font-mono); font-size:12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: 10px; white-space: nowrap; }
.elva-pg .catbar-links{ display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.elva-pg .catbar-links::-webkit-scrollbar{ display: none; }
.elva-pg .catlink{ font-size:15px; font-weight: 550; color: var(--ink-2); padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid transparent; white-space: nowrap; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.elva-pg .catlink:hover{ background: rgba(0,0,0,.04); color: var(--ink-0); }
.elva-pg .catlink.active{ background: var(--grad-spectrum); color: #fff; }
.elva-pg .catbar-spacer{ flex: 1; }
.elva-pg .catbar .btn{ padding: 8px 16px; font-size:15px; }
.elva-pg .fsec{ padding: 96px 0 40px; scroll-margin-top: 90px; position: relative; }
.elva-pg .fsec::before{ content: ''; position: absolute; top: 30px; right: -220px; width: 560px; height: 560px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--acc-tint), transparent 68%); }
.elva-pg #insurance::before{ right: auto; left: -220px; }
.elva-pg #engagement{ --acc: #D1487F; --acc-tint: rgba(255,169,201,.22); }
.elva-pg #insurance{ --acc: #3D6FD6; --acc-tint: rgba(91,141,239,.15); }
.elva-pg #automation{ --acc: #8A4BE8; --acc-tint: rgba(155,92,255,.13); }
.elva-pg .fsec .eyebrow{ color: var(--acc); }
.elva-pg .fsec-head{ max-width: 720px; margin-bottom: 44px; }
.elva-pg .fsec-head h2{ font-size: clamp(30px, 3.4vw, 44px); margin-top: 18px; }
.elva-pg .fsec-head .fsec-sub{ font-size: 16.5px; line-height: 1.55; color: var(--ink-2); margin-top: 16px; text-wrap: pretty; }
.elva-pg .fsec-count{ font-family: var(--font-mono); font-size:12.5px; color: var(--ink-3); letter-spacing: .08em; }
.elva-pg .fgrid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.elva-pg .fcard{
  background: #fff; border: 1px solid var(--cream-2); border-radius: var(--r-xl); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sh-1); position: relative;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.elva-pg .fcard:hover{ transform: translateY(-3px); box-shadow: var(--sh-2); border-color: color-mix(in oklab, var(--acc, var(--ink-3)) 38%, var(--cream-2)); }
.elva-pg .fcard .fi{ width: 40px; height: 40px; border-radius: 12px; background: var(--acc-tint, var(--cream-0)); border: 1px solid transparent; display: grid; place-items: center; color: var(--acc, var(--ink-1)); }
.elva-pg .fcard .fi svg{ width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.elva-pg .fcard .tag{ position: absolute; top: 22px; right: 20px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc, var(--ink-3)); background: var(--acc-tint, var(--cream-0)); border: 1px solid transparent; padding: 4px 9px; border-radius: var(--r-pill); }
.elva-pg a.fcard{ cursor: pointer; }
.elva-pg .fcard-link .larr{ width: 14px; height: 14px; display: inline-block; vertical-align: -1px; margin-left: 3px; stroke: var(--acc); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transform: rotate(-45deg); transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.elva-pg .fcard-link:hover .larr{ opacity: 1; transform: rotate(-45deg) translateX(3px); }
.elva-pg .dso-card .larr{ width: 14px; height: 14px; display: inline-block; vertical-align: -1px; margin-left: 3px; stroke: rgba(255,255,255,.55); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out), stroke var(--dur-fast); }
.elva-pg a.dso-card{ cursor: pointer; }
.elva-pg a.dso-card:hover .larr{ stroke: #7FD8CB; transform: rotate(-45deg) translateX(3px); }
.elva-pg .fcard h3{ font-size: 17px; line-height: 1.25; }
.elva-pg .fcard p{ font-size:15px; color: var(--ink-2); line-height: 1.5; }
.elva-pg .fsec-sub a{ color: var(--acc, var(--info)); font-weight: 550; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.elva-pg .fsec-sub a:hover{ text-decoration-thickness: 2px; }
.elva-pg .flagship{ grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.elva-pg .fcard-flag{ padding: 30px 28px 26px; background: linear-gradient(150deg, #fff 60%, var(--acc-tint)); }
.elva-pg .fcard-flag .flag-eyebrow{ font-family: var(--font-mono); font-size:12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.elva-pg .fcard-flag h3{ font-size: 21px; }
.elva-pg .fcard-flag p{ font-size:15px; line-height: 1.55; }
.elva-pg .fcard-flag .flag-note{ display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; font-size:13.5px; color: var(--ink-2); font-weight: 550; }
.elva-pg .fcard-flag .flag-note::before{ content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); flex: none; }
.elva-pg .fcard-hero{ grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; padding: 28px; background: linear-gradient(120deg, #fff 48%, #EEF3FE); }
.elva-pg .fcard-hero .fh-copy{ flex: 1; display: flex; flex-direction: column; gap: 12px; }
.elva-pg .fcard-hero h3{ font-size: 22px; }
.elva-pg .fcard-hero p{ font-size:15.5px; max-width: 58ch; }
.elva-pg .fcard-hero .fh-stats{ display: flex; gap: 28px; flex: none; padding-left: 28px; border-left: 1px solid var(--cream-2); }
.elva-pg .fh-stat{ display: flex; flex-direction: column; gap: 4px; }
.elva-pg .fh-stat .n{ font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.04em;
  background: var(--grad-spectrum); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.elva-pg .fh-stat .l{ font-size:13px; color: var(--ink-3); max-width: 14ch; line-height:1.5; }
.elva-pg .dso-band{ margin-top: 56px; background: var(--sage-0); border-radius: 0; padding: 96px 0; position: relative; overflow: clip; scroll-margin-top: 90px; }
.elva-pg .dso-glow{ position: absolute; top: -200px; right: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, var(--ai-3), var(--ai-4), var(--ai-5), var(--ai-3));
  filter: blur(130px); opacity: .3; pointer-events: none; }
.elva-pg .dso-band .eyebrow{ color: rgba(255,255,255,.55); }
.elva-pg .dso-head{ position: relative; max-width: 760px; margin-bottom: 48px; }
.elva-pg .dso-head h2{ color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin-top: 18px; }
.elva-pg .dso-head .fsec-sub{ color: rgba(255,255,255,.65); font-size: 16.5px; line-height: 1.55; margin-top: 16px; text-wrap: pretty; }
.elva-pg .dso-grid{ position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.elva-pg .dso-card{ background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-xl); padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; transition: background var(--dur-med) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.elva-pg .dso-card:hover{ background: rgba(255,255,255,.08); transform: translateY(-3px); }
.elva-pg .dso-card .fi{ width: 40px; height: 40px; border-radius: 12px; background: rgba(63,184,168,.14); border: 1px solid transparent; display: grid; place-items: center; color: #7FD8CB; }
.elva-pg .dso-card:nth-child(3n+2) .fi{ background: rgba(155,92,255,.18); color: #B79AFF; }
.elva-pg .dso-card:nth-child(3n+3) .fi{ background: rgba(91,141,239,.18); color: #93B7FF; }
.elva-pg .dso-card .fi svg{ width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.elva-pg .dso-card h3{ color: #fff; font-size: 17px; line-height: 1.25; }
.elva-pg .dso-card p{ color: rgba(255,255,255,.6); font-size:15px; line-height: 1.5; }
.elva-pg .dso-foot{ position: relative; display: flex; align-items: center; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.elva-pg .dso-foot .btn-light{ background: #fff; color: var(--ink-0); }
.elva-pg .dso-foot .btn-light:hover{ transform: translateY(-1px); }
.elva-pg .dso-foot .note{ font-size:15px; color: rgba(255,255,255,.55); }
.elva-pg .cta{ padding: 110px 0 120px; text-align: center; position: relative; overflow: clip; }
.elva-pg .cta::before{ content: ''; position: absolute; bottom: -300px; left: 50%; transform: translateX(-50%); width: 720px; height: 520px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 200deg at 50% 50%, var(--ai-1), var(--ai-2), var(--ai-g1), var(--ai-g2), var(--ai-5), var(--ai-1));
  filter: blur(120px); opacity: .2; }
.elva-pg .cta .eyebrow{ justify-content: center; }
.elva-pg .cta h2{ font-size: clamp(32px, 4vw, 52px); margin: 18px auto 0; max-width: 18ch; }
.elva-pg .cta p{ font-size: 17px; color: var(--ink-2); margin: 18px auto 0; max-width: 46ch; line-height: 1.55; }
.elva-pg .cta-actions{ display: flex; gap: 12px; justify-content: center; margin-top: 34px; }
.elva-pg .foot-brand{ max-width: 240px; }
.elva-pg .foot-brand p{ font-size:15px; color: var(--ink-2); line-height: 1.5; margin-top: 16px; }
.elva-pg .foot-contact{ font-size:13.5px; color: var(--ink-3); margin-top: 18px; line-height: 1.7; font-family: var(--font-mono); }
.elva-pg .foot-col h4{ font-family: var(--font-mono); font-size:12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 0 0 16px; }
.elva-pg .foot-col ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.elva-pg .foot-col a{ font-size:15px; color: var(--ink-1); transition: color var(--dur-fast); }
.elva-pg .foot-col a:hover{ color: var(--ai-4); }
.elva-pg [data-reveal]{ opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.elva-pg [data-reveal].in{ opacity: 1; transform: none; }
.elva-pg [data-reveal][data-delay="1"]{ transition-delay: .08s; }
.elva-pg [data-reveal][data-delay="2"]{ transition-delay: .16s; }
@media (prefers-reduced-motion: reduce){
.elva-pg [data-reveal]{ opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1080px){
.elva-pg .fgrid,.elva-pg .dso-grid{ grid-template-columns: 1fr 1fr; }
.elva-pg .flagship{ grid-template-columns: 1fr; }
.elva-pg .cat-cards{ grid-template-columns: 1fr 1fr; }
.elva-pg .fcard-hero{ flex-direction: column; align-items: flex-start; }
.elva-pg .fcard-hero .fh-stats{ padding-left: 0; border-left: none; border-top: 1px solid var(--cream-2); padding-top: 20px; width: 100%; }
}
@media (max-width: 980px){
.elva-pg .foot-brand{ grid-column: 1 / -1; }
}
@media (max-width: 640px){
.elva-pg .wrap-wide{ padding: 0 20px; }
.elva-pg .fgrid,.elva-pg .dso-grid,.elva-pg .cat-cards{ grid-template-columns: 1fr; }
.elva-pg .cta-actions{ flex-direction: column; align-items: center; }
}
.elva-pg .f-hero-media{ position:relative; margin:38px auto 0; max-width:1320px; text-align:left; }
.elva-pg .f-fullimg{ position:relative; width:100%; border-radius:var(--r-2xl); overflow:hidden; background-color:var(--cream-1); background-image:repeating-linear-gradient(135deg, transparent 0 13px, rgba(110,110,115,.05) 13px 14px); border:1px solid var(--cream-2); box-shadow:var(--sh-3); aspect-ratio:21/9; display:grid; place-items:center; text-align:center; }
.elva-pg .f-fullimg::before{ content:''; position:absolute; inset:10px; border-radius:calc(var(--r-2xl) - 8px); border:1.5px dashed var(--cream-shadow); pointer-events:none; }
.elva-pg .f-fullimg.has-img{ aspect-ratio:auto; background:none; }
.elva-pg .f-fullimg.has-img::before{ display:none; }
.elva-pg .f-fullimg.has-img img{ display:block; width:100%; height:auto; }
.elva-pg .f-fullimg-inner{ position:relative; display:flex; flex-direction:column; align-items:center; gap:11px; padding:28px 24px; }
.elva-pg .f-fullimg-ic{ width:46px; height:46px; border-radius:13px; background:var(--surface-mute); border:1px solid var(--cream-2); display:grid; place-items:center; color:var(--ink-4); }
.elva-pg .f-fullimg-ic svg{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.elva-pg .f-fullimg-name{ font-family:var(--font-mono); font-size:13.5px; font-weight:500; color:var(--ink-1); background:var(--cream-0); border:1px solid var(--cream-2); border-radius:var(--r-pill); padding:5px 12px; display:inline-flex; align-items:center; gap:7px; }
.elva-pg .f-fullimg-name .wb{ color:var(--ai-4); font-size:12px; letter-spacing:.06em; }
.elva-pg .f-fullimg-dim{ font-family:var(--font-mono); font-size:12px; color:var(--ink-4); letter-spacing:.1em; text-transform:uppercase; }
.elva-pg .f-fullimg-desc{ font-size:14.5px; line-height:1.5; color:var(--ink-3); max-width:34ch; }
/* the catbar replaces the synced header on scroll. Default: catbar sits just
   below the 64px header, transform-based so it can animate smoothly into the
   header's slot. When .elva-catbar-active (JS, set once scrolled past the hero
   cards), the header slides up and the catbar rises to take its place — both
   move over the same window so there's a moment where both are visible. */
.elva-pg .catbar{ top: 0; z-index:45;
  transform: translateY(var(--elva-header-height, 64px));
  transition: transform .6s var(--ease-out, cubic-bezier(.22,1,.36,1)), opacity .35s var(--ease-out, ease); }
/* the base .catbar.show rule zeroes transform for its fade-in; re-assert the
   resting position here (higher specificity) so .show only drives opacity */
.elva-pg .catbar.show{ transform: translateY(var(--elva-header-height, 64px)); }
body.admin-bar .elva-pg .catbar,
body.admin-bar .elva-pg .catbar.show{ transform: translateY(calc(var(--elva-header-height, 64px) + 32px)); }
.elva-header-fixed{ transition: transform .6s var(--ease-out, cubic-bezier(.22,1,.36,1)); }
body.elva-catbar-active .elva-header-fixed{ transform: translateY(-100%); }
body.elva-catbar-active .elva-pg .catbar,
body.elva-catbar-active .elva-pg .catbar.show{ transform: translateY(0); }
body.admin-bar.elva-catbar-active .elva-pg .catbar,
body.admin-bar.elva-catbar-active .elva-pg .catbar.show{ transform: translateY(32px); }

/* sticky-safe horizontal clipping (overrides scoped body overflow-x:hidden) */
.elva-pg{ overflow-x: clip; }
/* image-slot override: when a real image is assigned in WP admin, it fills the slot */
.elva-pg .img-slot{ position:relative; }
.elva-pg .img-slot.has-img{ background:none; border-style:solid; }
.elva-pg .img-slot-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; display:block; }

/* ===== readability pass: secondary text one contrast step darker ===== */
.elva-pg{ --ink-2:#5A5A5F; --ink-3:#6E6E73; --ink-4:#98989E; }
