/*
 * Solae — Clay skin (bold, clay.com-inspired).
 *
 * A full site-look overlay loaded only when the "Clay" site skin is active
 * (Appearance → Customize → Solae site skin). Chunky Bricolage headlines, a
 * warm candy palette, puffy pill buttons, recoloured cards, a growth-dashboard
 * + integrations grid (rendered in front-page.php when this skin is on), 3D
 * clay objects and gentle animation. The logo and the globe are untouched.
 * All motion respects prefers-reduced-motion. Switching skins reverts instantly.
 */

:root {
  --display: 'Bricolage Grotesque', 'Source Serif 4', Georgia, serif;
  --cl-cream: #FCF6EC;
  --cl-coral: #EE8A60;  --cl-coralD: #8E3C23;
  --cl-amber: #EFB152;  --cl-amberD: #855512;
  --cl-sage:  #9FC78F;  --cl-sageD:  #3C5A35;
  --cl-sky:   #86B4DD;  --cl-skyD:   #2B5478;
  --cl-lilac: #B49BE0;  --cl-lilacD: #4E3A86;
  --cl-teal:  #16A0A8;
  --cl-sd: rgba(150, 110, 72, .42);
  --cl-sl: rgba(255, 255, 255, .9);
}

/* --- warmer canvas so raised clay reads --- */
body { background-color: #F2E7D4; }
.light { background-color: #FBF4EA; }

/* --- chunky headline weight --- */
.hero h1, .sec-head h2, .page-hero h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }

/* --- every card: big radius + strong puffy clay --- */
.svc, .note-card, .geo-demo, .form-card, .leak, .aiv-card, .case, .ind-feature, .ind-item, .brief-box, .op-note, .f-card {
  border-radius: 26px;
  box-shadow: 16px 18px 40px -6px var(--cl-sd), -12px -12px 30px var(--cl-sl), inset 2px 2px 3px rgba(255,255,255,.7);
  transition: box-shadow .4s ease, transform .45s cubic-bezier(.22,.61,.36,1);
}
.svc:hover, .note-card:hover, .ind-feature:hover, .ind-item:hover { transform: translateY(-6px) scale(1.012); }
.airc, .proof-card { border-radius: 26px; box-shadow: 18px 20px 44px -6px rgba(26,24,23,.5), -10px -10px 28px rgba(255,250,244,.5); }

/* --- mandates → deep candy (white text stays legible) --- */
.mandate { border-radius: 26px; transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease; }
.mandate:hover { transform: translateY(-7px) scale(1.015); }
.mandate-grid .mandate:nth-child(1) { background: #B5563A; box-shadow: 14px 16px 34px -6px rgba(120,50,30,.5), -10px -10px 24px rgba(255,255,255,.4); }
.mandate-grid .mandate:nth-child(2) { background: var(--cl-teal); box-shadow: 14px 16px 34px -6px rgba(13,110,117,.5), -10px -10px 24px rgba(255,255,255,.4); outline: none; }
.mandate-grid .mandate:nth-child(3) { background: #5C4A88; box-shadow: 14px 16px 34px -6px rgba(60,40,110,.5), -10px -10px 24px rgba(255,255,255,.4); }
.mandate .m-tag, .mandate .m-link { color: #FDEFE2 !important; filter: none !important; }
.mandate .m-includes li::before { border-color: rgba(255,255,255,.75); filter: none; }

/* --- trust strip → light candy tiles --- */
.proofstrip .ps-item { border-radius: 20px; padding: 16px 14px; box-shadow: 9px 10px 20px -6px var(--cl-sd), -7px -7px 16px var(--cl-sl); }
.proofstrip .ps-grid .ps-item:nth-child(1) { background: #F5D8CA; }
.proofstrip .ps-grid .ps-item:nth-child(2) { background: #E2EFEC; }
.proofstrip .ps-grid .ps-item:nth-child(3) { background: #F6E7C7; }
.proofstrip .ps-grid .ps-item:nth-child(4) { background: #DEEAD8; }
.proofstrip .ps-item .ps-v { color: #3a322a; }
.proofstrip .ps-item .ps-k { color: #6a5f52; }

/* --- buttons → puffy clay pills --- */
.btn {
  border-radius: 999px;
  box-shadow: 8px 9px 18px rgba(11,99,107,.42), -6px -6px 14px rgba(255,255,255,.55), inset 3px 3px 6px rgba(255,255,255,.30), inset -4px -5px 10px rgba(0,0,0,.18);
}
.btn:active { box-shadow: inset 4px 4px 9px rgba(0,0,0,.26), inset -3px -3px 7px rgba(255,255,255,.2); }
.btn.ghost { box-shadow: 7px 8px 16px var(--cl-sd), -6px -6px 13px var(--cl-sl), inset 2px 2px 4px rgba(255,255,255,.7), inset -3px -4px 8px var(--cl-sd); }

/* --- the old platform marquee is replaced by the clay integrations grid --- */
.strip { display: none; }

/* =======================================================================
   CLAY-ONLY SECTIONS (rendered in front-page.php when this skin is active)
   ======================================================================= */

/* growth dashboard */
.clay-dash-sec { position: relative; overflow: hidden; padding: clamp(40px,5vw,72px) 0; }
.clay-dash { background: var(--cl-cream); border-radius: 26px; max-width: 600px; margin: clamp(22px,3vw,34px) auto 0; padding: clamp(18px,2.4vw,24px); position: relative; z-index: 2;
  box-shadow: 16px 18px 42px -6px var(--cl-sd), -12px -12px 30px var(--cl-sl), inset 2px 2px 3px rgba(255,255,255,.7); }
.clay-dash .cd-top { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-family: var(--display); font-weight: 600; font-size: 12px; color: var(--ink-soft); }
.clay-dash .cd-live { width: 9px; height: 9px; border-radius: 50%; background: #3FBF99; animation: clayPulse 2s infinite; }
.clay-dash .cd-row { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #F4EADB; margin-bottom: 8px; }
.clay-dash .cd-row .cd-ch { font-size: 13px; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.clay-dash .cd-row .cd-dot { width: 11px; height: 11px; border-radius: 4px; flex: none; }
.clay-dash .cd-row .cd-val { font-size: 12.5px; color: var(--ink-soft); }
.clay-dash .cd-chip { font-size: 10.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.clay-dash .cd-note { font-family: var(--display); font-size: 10.5px; color: var(--ink-faint); text-align: center; margin: 13px 0 0; }

/* integrations grid */
.clay-intg-sec { position: relative; overflow: hidden; padding: clamp(36px,4.5vw,60px) 0; }
.clay-intg-sec > .wrap { position: relative; z-index: 2; }
.clay-intg-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px,1.4vw,16px); margin-top: clamp(20px,2.6vw,30px); }
@media (max-width: 720px) { .clay-intg-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 460px) { .clay-intg-grid { grid-template-columns: repeat(3, 1fr); } }
.clay-intg-grid .ci-tile { aspect-ratio: 1/1; border-radius: 20px; background: var(--cl-cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 8px 9px 18px -6px var(--cl-sd), -6px -6px 14px var(--cl-sl); transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.clay-intg-grid .ci-tile:hover { transform: translateY(-5px) rotate(-2deg); }
.clay-intg-grid .ci-tile svg { width: 24px; height: 24px; fill: var(--ink); }
.clay-intg-grid .ci-tile.ai svg { fill: var(--cl-teal); }
.clay-intg-grid .ci-tile b { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .04em; color: var(--ink-faint); }

/* 3D clay objects */
.clay-blob { position: absolute; z-index: 1; pointer-events: none; }
.clay-blob.cb-sphere { border-radius: 50%; box-shadow: 9px 13px 26px -4px rgba(0,0,0,.24), inset -8px -10px 18px rgba(0,0,0,.22), inset 9px 9px 15px rgba(255,255,255,.5); }
.clay-blob.cb-squi { border-radius: 38% 62% 58% 42% / 48% 42% 58% 52%; box-shadow: 9px 13px 26px -4px rgba(0,0,0,.22), inset -8px -10px 18px rgba(0,0,0,.18), inset 9px 9px 15px rgba(255,255,255,.5); }
.cb-coral { background: radial-gradient(circle at 32% 28%, #F8C3A8, var(--cl-coral) 62%, #C9633E); }
.cb-amber { background: radial-gradient(circle at 32% 28%, #F4D89E, var(--cl-amber) 60%, #C98E2E); }
.cb-sage  { background: radial-gradient(circle at 32% 28%, #C2DEB6, var(--cl-sage) 60%, #6E9A60); }
.cb-sky   { background: radial-gradient(circle at 32% 28%, #B9D6EE, var(--cl-sky) 60%, #5C8FBE); }
.cb-lilac { background: radial-gradient(circle at 32% 28%, #D2C2F0, var(--cl-lilac) 60%, #8E72C6); }
.cb-f1 { animation: clayFloat1 7s ease-in-out infinite; }
.cb-f2 { animation: clayFloat2 8.5s ease-in-out infinite; }
.cb-f3 { animation: clayFloat3 6s ease-in-out infinite; }

/* Organic drift — bubbles rise, sway sideways, rotate and gently "breathe" so the
   motion reads as floating rather than bobbing. `clayCalm` is the gentle fallback
   used under prefers-reduced-motion (small, slow, vertical only — no rotation,
   sway or scale). `claySheen` slides a candy gradient for live/progress accents. */
@keyframes clayFloat1 { 0%,100% { transform: translate(0,0) rotate(0) scale(1); } 50% { transform: translate(7px,-16px) rotate(8deg) scale(1.04); } }
@keyframes clayFloat2 { 0%,100% { transform: translate(0,0) rotate(0) scale(1); } 50% { transform: translate(-9px,-22px) rotate(-9deg) scale(1.05); } }
@keyframes clayFloat3 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(6px,-9px) scale(1.02); } 66% { transform: translate(-6px,-13px) scale(1.035); } }
@keyframes clayCalm   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes clayPulse  { 0% { box-shadow: 0 0 0 0 rgba(63,191,153,.55); } 70%,100% { box-shadow: 0 0 0 8px rgba(63,191,153,0); } }
@keyframes claySheen  { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* --- menu: clay pill toggle + warm clay overlay --- */
.menu-toggle {
  background: var(--cl-cream);
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: 6px 7px 14px var(--cl-sd), -4px -4px 10px var(--cl-sl), inset 1px 1px 2px rgba(255,255,255,.7);
}
.menu-toggle[aria-expanded="true"] { box-shadow: inset 4px 4px 9px var(--cl-sd), inset -3px -3px 7px var(--cl-sl); }
.ov-panel { background: #F3E9DA; color: var(--ink); }
.ov-primary a { color: var(--ink); }
.ov-primary:hover a { opacity: .32; }
.ov-primary a:hover, .ov-primary a.is-current { opacity: 1; }
.ov-primary a span::after { background: var(--cl-coral); height: 3px; bottom: .02em; border-radius: 2px; }
.ov-cta {
  border-radius: 999px;
  background: var(--cl-teal);
  color: #fff;
  box-shadow: 7px 8px 16px rgba(11,99,107,.42), -4px -4px 10px rgba(255,255,255,.25), inset 0 1px 0 rgba(255,255,255,.3);
}
.ov-cta:hover { background: var(--cl-coral); color: #fff; }
.ov-secondary a { color: var(--ink-soft); }
.ov-secondary a:hover { color: var(--ink); }
.ov-social a { color: var(--ink-faint); }
.ov-social a:hover { color: var(--cl-teal); }

/* =====================================================================
   LIVELY PASS — header bar, footer, forms, interior heroes/CTAs, candy
   bullets + tiles, and more floating 3D bubbles across the whole site.
   ===================================================================== */

/* header: warm frosted clay bar on scroll */
#hd.solid { background: rgba(243,233,218,.86); box-shadow: 0 7px 22px -12px rgba(150,110,72,.5); }

/* footer: rounded top, chunky labels, candy clay social tiles + a floating bubble */
footer { border-radius: clamp(26px,4vw,46px) clamp(26px,4vw,46px) 0 0; position: relative; overflow: hidden; }
footer::after { content:""; position:absolute; width:130px; height:130px; right:-34px; top:-30px; border-radius:50%; pointer-events:none; z-index:0;
  background: radial-gradient(circle at 32% 28%, #5FC3C9, #16A0A8 60%, #0B5860); opacity:.45; animation: clayFloat3 10s ease-in-out infinite; }
footer .wrap { position: relative; z-index: 1; }
.ft h5 { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .01em; text-transform: none; color: var(--od); }
.ft li a:hover, .ft-legal a:hover { color: var(--cl-amber); }
.ft-social a { border: 0 !important; border-radius: 15px !important; box-shadow: 5px 6px 13px rgba(0,0,0,.3), inset 1px 1px 2px rgba(255,255,255,.22); transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease; }
.ft-social a:nth-child(1){ background:#EE8A60; } .ft-social a:nth-child(2){ background:#16A0A8; } .ft-social a:nth-child(3){ background:#EFB152; }
.ft-social a:nth-child(4){ background:#B49BE0; } .ft-social a:nth-child(5){ background:#9FC78F; } .ft-social a:nth-child(6){ background:#86B4DD; }
.ft-social svg, .ft-social a:hover svg { fill: #fff !important; }
.ft-social a:hover { transform: translateY(-4px) rotate(-5deg); background: var(--cl-coral); }

/* forms: clay inset fields + candy progress bar */
.field input, .field select, .field textarea { border-radius: 14px; border-color: transparent; background: var(--cl-cream); box-shadow: inset 3px 3px 7px rgba(150,110,72,.2), inset -2px -2px 5px rgba(255,255,255,.85); }
.field label { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: .01em; text-transform: none; color: var(--ink); }
.prog .track { height: 9px; border-radius: 999px; overflow: hidden; background: #EAD9C2; box-shadow: inset 2px 2px 5px rgba(150,110,72,.28); }
.prog .fill { background: linear-gradient(90deg, var(--cl-teal), var(--cl-coral), var(--cl-teal)); background-size: 200% 100%; border-radius: 999px; animation: claySheen 3.5s linear infinite; }
.received { border-radius: 22px; }

/* interior page heroes: warm + two floating bubbles */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(800px 380px at 88% -8%, rgba(22,160,168,.14), transparent 60%), #F4EADB; }
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero::before { content:""; position:absolute; z-index:1; width:92px; height:92px; right:8%; top:38%; border-radius:50%; pointer-events:none;
  background: radial-gradient(circle at 32% 28%, #F8C3A8, #EE8A60 62%, #C9633E);
  box-shadow: 9px 13px 26px -4px rgba(0,0,0,.2), inset -8px -10px 18px rgba(0,0,0,.2), inset 9px 9px 15px rgba(255,255,255,.5); animation: clayFloat1 6s ease-in-out infinite; }
.page-hero::after { content:""; position:absolute; z-index:1; width:50px; height:50px; right:19%; top:66%; border-radius:38% 62% 58% 42% / 48% 42% 58% 52%; pointer-events:none;
  background: radial-gradient(circle at 32% 28%, #F4D89E, #EFB152 60%, #C98E2E);
  box-shadow: 9px 13px 26px -4px rgba(0,0,0,.18), inset -8px -10px 18px rgba(0,0,0,.16), inset 9px 9px 15px rgba(255,255,255,.5); animation: clayFloat2 7.5s ease-in-out infinite; }

/* CTA / close bands: floating bubbles */
.close-strip, #audit { position: relative; overflow: hidden; }
.close-strip > .wrap, #audit > .wrap { position: relative; z-index: 2; }
.close-strip::before { content:""; position:absolute; z-index:1; width:60px; height:60px; left:9%; top:18%; border-radius:50%; pointer-events:none;
  background: radial-gradient(circle at 32% 28%, #D2C2F0, #B49BE0 60%, #8E72C6);
  box-shadow: 9px 13px 24px -4px rgba(0,0,0,.22), inset -7px -8px 14px rgba(0,0,0,.22), inset 7px 7px 12px rgba(255,255,255,.5); animation: clayFloat3 5.5s ease-in-out infinite; }
.close-strip::after { content:""; position:absolute; z-index:1; width:44px; height:44px; right:11%; bottom:16%; border-radius:38% 62% 58% 42% / 48% 42% 58% 52%; pointer-events:none;
  background: radial-gradient(circle at 32% 28%, #C2DEB6, #9FC78F 60%, #6E9A60);
  box-shadow: 9px 13px 24px -4px rgba(0,0,0,.2), inset -7px -8px 14px rgba(0,0,0,.18), inset 7px 7px 12px rgba(255,255,255,.5); animation: clayFloat2 7s ease-in-out infinite; }

/* candy bullets + lively tiles */
.leak-n { color: var(--cl-coral); }
.gets li::before { content: "\25CF"; color: var(--cl-coral); font-size: 9px; top: 17px; }
.nextsteps li span { background: var(--cl-teal); color: #fff; box-shadow: 4px 5px 10px -3px rgba(11,99,107,.45), inset 0 1px 0 rgba(255,255,255,.3); }
.m-includes li::before { background: rgba(255,255,255,.85); border: 0; width: 8px; height: 8px; top: 7px; }
.rule-list li::before { color: var(--cl-teal); }
.step .n, .prac .tag, .cap-head .eyebrow, .eyebrow { color: var(--cl-coralD); }
.chips span { border-radius: 999px; border: 0; padding: 8px 14px; box-shadow: 4px 5px 10px -4px var(--cl-sd), -3px -3px 8px var(--cl-sl); transition: transform .35s ease; }
.chips span:hover { transform: translateY(-3px); }
.inc .chips span:nth-child(6n+1){ background:#F6D9CC; color:#8E3C23; }
.inc .chips span:nth-child(6n+2){ background:#DDEEEA; color:#0B5860; }
.inc .chips span:nth-child(6n+3){ background:#F6E7C7; color:#855512; }
.inc .chips span:nth-child(6n+4){ background:#E6DEF4; color:#4E3A86; }
.inc .chips span:nth-child(6n+5){ background:#DEEAD8; color:#3C5A35; }
.inc .chips span:nth-child(6n+6){ background:#DCE8F2; color:#2B5478; }

/* Reduced-motion: keep a calm, low-amplitude ambient drift instead of freezing
   everything. A slow vertical float (clayCalm) and a soft live-dot pulse read as
   "alive" without the rotation, sideways sway, scale or parallax that can trigger
   discomfort — so the site still breathes on iOS (where Reduce Motion / Low Power
   Mode set this) without being jarring. Hover/scroll transitions stay disabled. */
@media (prefers-reduced-motion: reduce) {
  .cb-f1, .cb-f2, .cb-f3,
  .page-hero::before, .page-hero::after,
  .close-strip::before, .close-strip::after,
  footer::after { animation: clayCalm 15s ease-in-out infinite !important; }
  .clay-dash .cd-live { animation: clayPulse 3.6s infinite; }
  .prog .fill { animation: claySheen 7s linear infinite; }
  .svc, .note-card, .mandate, .ind-feature, .ind-item, .clay-intg-grid .ci-tile, .ft-social a, .chips span { transition: none !important; }
}


/* v2.41 sharp components — clay treatment */
.prob{background:var(--cl-cream);border:0;box-shadow:8px 9px 18px -8px var(--cl-sd),-5px -5px 12px var(--cl-sl);border-radius:20px;}
.prob .cost{color:var(--cl-coralD);background:#F6D9CC;border:0;}
.arch-mod{background:var(--cl-cream);border:0;border-radius:20px;box-shadow:8px 9px 18px -8px var(--cl-sd),-5px -5px 12px var(--cl-sl);}
.arch-mod:hover{transform:translateY(-4px) rotate(-.5deg);}
.arch-mod b{color:var(--cl-teal);}
.arch-mod .am-n{color:var(--cl-coral);}
.svc .sig{color:var(--cl-coralD);}
.diff{background:var(--cl-cream);border:0;border-radius:20px;box-shadow:8px 9px 18px -8px var(--cl-sd),-5px -5px 12px var(--cl-sl);}
.tcard{background:var(--cl-cream);border:0;border-radius:24px;box-shadow:10px 12px 24px -10px var(--cl-sd),-6px -6px 16px var(--cl-sl);}
.tcard .tq{color:var(--cl-coral);}


/* v2.42 conversion layer — clay treatment */
.trust-chips li{background:var(--cl-cream);border:0;box-shadow:4px 5px 11px -4px var(--cl-sd),-3px -3px 7px var(--cl-sl);}
.prob p{color:#5a5044;}
.diag-card{background:var(--cl-cream);border:0;border-radius:26px;box-shadow:14px 16px 36px -10px var(--cl-sd),-10px -10px 24px var(--cl-sl);}
.dg-box{background:#fff;}
.diag-q input:checked + .dg-box{background:var(--cl-teal);border-color:var(--cl-teal);}
.diag-out{background:#F3E9DA;border-radius:20px;}
.diag-score{color:var(--cl-teal);}
.diag-bucket.crit{color:var(--cl-coralD);}
.diag-bucket.mid{color:var(--cl-amberD);}
.am-reveal i{color:var(--cl-amber);}
.dash2-card{background:var(--cl-cream);border:0;border-radius:18px;box-shadow:7px 8px 16px -6px var(--cl-sd),-5px -5px 12px var(--cl-sl);}
.cmp-basic{background:#F1E6D5;border:0;border-radius:22px;}
.cmp-solae{border-radius:22px;}
.cmp-solae .cmp-head,.am-reveal i,.cmp-solae li::before{color:var(--cl-amber);}
.cmp-solae li::before{border-color:var(--cl-amber);}
.proof-policy{background:var(--cl-cream);border:0;border-radius:20px;box-shadow:10px 12px 24px -10px var(--cl-sd),-6px -6px 16px var(--cl-sl);}
.geo-card{background:var(--cl-cream);border:0;box-shadow:4px 5px 11px -4px var(--cl-sd),-3px -3px 7px var(--cl-sl);}
.geo-honest{border-left-color:var(--cl-teal);}
.ind-card{background:var(--cl-cream);border:0;border-radius:20px;box-shadow:8px 9px 18px -8px var(--cl-sd),-5px -5px 12px var(--cl-sl);}
.ind-card:hover{transform:translateY(-5px) rotate(-.4deg);}
.ic-m{color:var(--cl-teal);}
.access-list li::before,.value-stack li::before{border-color:var(--cl-teal);}
.sticky-cta{background:rgba(36,30,24,.96);}
.sticky-cta .btn{box-shadow:none;}


/* v2.48 FIX — Clay menu: header text was forced white (for the editorial DARK overlay) but the clay overlay is CREAM, so CLOSE + wordmark were invisible. Make them dark/readable on cream. */
body.ov-open .menu-toggle { color: var(--ink) !important; }   /* CLOSE sits over the cream panel at every width */
/* v2.58 — mega menu is full-cream at ALL widths, so wordmark + CLOSE stay ink everywhere */
body.ov-open #hd, body.ov-open .wm-text { color: var(--ink) !important; }
body.ov-open .wm-text span { color: var(--cl-teal) !important; }
.mm-eyebrow { color: var(--cl-coral); }
.mm-name::after, .mm-check span::after { background: var(--cl-coral); height: 2px; }
.mm-cta { background: var(--cl-teal); color: #fff; border-radius: 999px; }
.mm-cta:hover { background: var(--cl-coral); }
