/* Designing Soul — WordPress extras (plain pages, blog, comments, Elementor wrapper reset). Loads after studio.css. */

/* Elementor wrappers must never add their own spacing around Designing Soul sections. */
.elementor-widget-container:has(>section,>.band,>.mq,>.pf3){margin:0;padding:0}
.e-con.ds-flow,.ds-flow{--gap:0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;--margin-top:0px;--margin-bottom:0px;gap:0!important;padding:0!important}
.e-con.ds-flow>.e-con-inner{gap:0;padding:0;max-width:none}
.elementor-widget[class*="elementor-widget-ds_"]{margin:0!important;width:100%}
.elementor-widget[class*="elementor-widget-ds_"]>.elementor-widget-container{width:100%}
main>.elementor,main>.elementor>.e-con,main>.elementor>.elementor-section-wrap{margin:0;padding:0}
.elementor-kit-5 a,.elementor a{box-shadow:none}

/* Plain (non-Elementor) content */
.ds-entry{max-width:860px}
.ds-entry>*+*{margin-top:1.1em}
.ds-entry h2{margin-top:1.6em}.ds-entry h3{margin-top:1.3em}
.ds-entry a:not(.btn){color:var(--or);text-decoration:underline;text-underline-offset:3px}
.ds-entry img{border-radius:var(--r);height:auto}
.ds-entry ul,.ds-entry ol{padding-left:1.3em}
.ds-entry blockquote{margin:1.6em 0;padding:18px 24px;border-left:4px solid var(--or);background:var(--tint);border-radius:0 var(--r-s) var(--r-s) 0}
.alignleft{float:left;margin:0 1.2em 1em 0}.alignright{float:right;margin:0 0 1em 1.2em}.aligncenter{display:block;margin-inline:auto}
.wp-caption-text,.gallery-caption{font-size:.9rem;color:var(--mut)}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Blog cards */
.ds-post{display:flex;flex-direction:column;gap:12px}
.ds-post-img img{width:100%;height:auto;border-radius:var(--r-s);aspect-ratio:4/3;object-fit:cover}
.ds-post h3 a:hover{color:var(--or)}
.ds-pager{margin-top:44px}.ds-pager .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.ds-pager .page-numbers{padding:10px 16px;border-radius:999px;border:1px solid var(--line);font-weight:600}
.ds-pager .page-numbers.current,.ds-pager .page-numbers:hover{background:var(--or);color:#fff;border-color:var(--or)}
.ds-search{display:flex;gap:10px;max-width:520px;margin-top:20px}
.ds-search input{flex:1;padding:14px 18px;border-radius:999px;border:1.5px solid var(--line)}
.ds-comments{margin-top:56px}.ds-comment-list{padding:0;list-style:none}
.ds-comments input[type=text],.ds-comments input[type=email],.ds-comments input[type=url],.ds-comments textarea{width:100%;padding:12px 16px;border:1.5px solid var(--line);border-radius:var(--r-s)}
.ds-comments input[type=submit]{padding:14px 26px;border:0;border-radius:999px;background:var(--or);color:#fff;font-weight:600;cursor:pointer}

/* ---- Contact hero: rings must stay visible on the orange gradient (works with or without the .fr layer) ---- */
html body.pg-contact .ph .hx-art{position:relative;display:block;width:min(100%,400px);aspect-ratio:1/1;min-height:240px;margin-inline:auto;z-index:1}
html body.pg-contact .ph .hx-art .r{position:absolute;display:block;border-radius:50%;border:1.5px solid rgba(255,255,255,.75);animation:spin 30s linear infinite}
html body.pg-contact .ph .hx-art .r1{inset:30%;animation-duration:18s}
html body.pg-contact .ph .hx-art .r2{inset:15%;border-style:dashed;border-color:rgba(255,255,255,.65);animation-direction:reverse;animation-duration:28s}
html body.pg-contact .ph .hx-art .r3{inset:0;border-color:rgba(255,255,255,.4);animation-duration:44s}
html body.pg-contact .ph .hx-art .r::after{background:#fff;box-shadow:0 0 18px 4px rgba(255,255,255,.7)}
html body.pg-contact .ph .hx-art .core{background:#111;box-shadow:0 0 0 14px rgba(17,17,17,.14),0 0 60px 8px rgba(255,255,255,.25)}
html body.pg-contact .ph .hx-art .core svg{fill:#ff5a1f}

/* ---- Cursor on orange heroes (contact, 2D & 3D animation): white dot + ring so it never melts into the background ---- */
html.has-cur body.pg-contact .ph .btn,html.has-cur body.pg-animation .dh .btn{cursor:none}
.cur.on-or .cur-dot{background:#fff;box-shadow:0 0 0 1px rgba(17,17,17,.25)}
.cur.on-or .cur-ring{border-width:2px;border-color:rgba(255,255,255,.95);box-shadow:0 0 0 1px rgba(17,17,17,.12)}

/* ======================================================================
   Mobile card sliders — one swipeable row (pricing plans, Explore Case Studies, More Food Clients)
   Auto-plays via assets/slider.js; works by finger swipe too.
   ====================================================================== */
.ds-dots{display:none}
@media (max-width:760px){
  html body :is(.plans,.pf2-cards,.pf2-cards4){
    position:relative;display:flex!important;flex-wrap:nowrap;justify-content:flex-start!important;gap:16px;
    overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;
    margin-inline:calc(var(--gut,20px)*-1);padding:26px var(--gut,20px) 30px;margin-top:0;margin-bottom:-10px;
    scroll-padding-inline:var(--gut,20px);touch-action:pan-x pan-y;
  }
  html body :is(.plans,.pf2-cards,.pf2-cards4)::-webkit-scrollbar{display:none}
  html body :is(.plans,.pf2-cards,.pf2-cards4)>*{
    flex:0 0 min(84%,340px);min-width:0;grid-column:auto!important;scroll-snap-align:center;scroll-snap-stop:always;
    /* cards sit off-screen sideways, so scroll-reveal would never fire for them: always visible */
    opacity:1!important;translate:none!important;scale:none!important;transition-delay:0s!important;
  }
  html body .plans>.plan,html body .plans .plan.hot,html body .plans .plan.hot:hover{transform:none}
  html body .pf2-cards>.pf2-card .pf2-thumb{aspect-ratio:16/10!important}
  html body :is(.pf2-wrap,.pcat .c) h2+.pf2-cards,html body .pf2-lead+.pf2-cards{margin-top:20px}
  /* dots */
  .ds-dots{display:flex;justify-content:center;gap:8px;margin:22px 0 0}
  .ds-dots button{width:8px;height:8px;padding:0;border:0;border-radius:99px;background:currentColor;opacity:.25;cursor:pointer;transition:width .35s,opacity .3s,background .3s}
  .ds-dots button.on{width:26px;opacity:1;background:var(--or,#ff5a1f)}
}

/* ---- Logo image: sensible default sizes (override in Customizer → Logo size) ---- */
header#hd .logo{display:inline-flex;align-items:center}
/* Fluid & responsive: ~36px on phones → ~56px on big desktops (header), ~46px → ~66px (footer).
   Specificity is high enough to beat Elementor's ".elementor img{height:auto}", but there is no !important,
   so the "Logo image size" slider in the Site Header / Site Footer widget (or the Customizer) still wins. */
html body header#hd .logo-img{display:block;height:clamp(38px,calc(26px + 2.6vw),64px);width:auto;max-width:none}
html body footer .logo-img{display:block;height:clamp(48px,calc(34px + 2.6vw),76px);width:auto;max-width:none}
html body :is(header#hd,footer) .logo:has(.logo-img){line-height:0}
html body footer .logo{display:inline-block;margin-bottom:18px}

/* ---- Logo versions: normal (dark bg) · dark text (white header / light heroes) · all-white (orange heroes) ---- */
html body :is(header#hd,footer) .logo-img-d,html body :is(header#hd,footer) .logo-img-w{display:none}
html body footer .logo-img-d,html body footer .logo-img-w{display:none}
html body header#hd.stuck:not(.menu-open) .logo-img-l,
html body.fr:is(.pg-services,.pg-graphic-designing,.pg-video-animation) header#hd:not(.stuck):not(.menu-open) .logo-img-l{display:none}
html body header#hd.stuck:not(.menu-open) .logo-img-d,
html body.fr:is(.pg-services,.pg-graphic-designing,.pg-video-animation) header#hd:not(.stuck):not(.menu-open) .logo-img-d{display:block}
html body:is(.pg-contact,.pg-animation) header#hd:not(.stuck):not(.menu-open) .logo-img-l{display:none}
html body:is(.pg-contact,.pg-animation) header#hd:not(.stuck):not(.menu-open) .logo-img-w{display:block}

/* ---- Services index (numbered rows + live preview): keep the preview image on tablet & mobile ---- */
@media (max-width:1000px){
  html body .sx{gap:26px}
  /* the preview stays pinned under the header while you scroll the rows; tapping a row swaps the picture (tap again to open) */
  html body .sx-view{display:block;order:-1;position:sticky;top:calc(var(--hdr) + 8px);z-index:4;align-self:start;margin-inline:calc(var(--gut,20px)*-.0)}
  html body .sx-frame{aspect-ratio:16/9;max-height:210px;width:100%;border-radius:20px;box-shadow:0 18px 40px -18px rgba(255,90,31,.55),0 0 0 6px var(--ink,#111)}
  html body .sx-chip{left:12px;bottom:12px;font-size:.74rem;padding:8px 13px}
  html body .sx-row{-webkit-tap-highlight-color:transparent}
}

/* ---- Page heroes on tablet/mobile: page-specific 2-column layouts (About, Contact, Website dev, Social media) collapse to one column ---- */
@media (max-width:900px){
  html body:is(.pg-about,.pg-contact,.pg-website-development,.pg-social-media) :is(.ph,.dh) .g2{
    grid-template-columns:minmax(0,1fr)!important;gap:36px;
  }
  html body:is(.pg-about,.pg-contact,.pg-website-development,.pg-social-media) :is(.ph,.dh) .g2>*{min-width:0;max-width:100%}
  html body:is(.pg-about,.pg-contact,.pg-website-development,.pg-social-media) :is(.ph,.dh) .g2>:first-child{order:0!important}
  html body:is(.pg-about,.pg-contact,.pg-website-development,.pg-social-media) :is(.ph,.dh) .lead,
  html body:is(.pg-about,.pg-contact,.pg-website-development,.pg-social-media) :is(.ph,.dh) p{max-width:none}
  html body :is(.ph,.dh) .hx-art{width:min(100%,320px);min-height:0;margin-inline:auto}
}
/* the inner-page intro curtain can never stay on the page after it has played */
html:not(.st-intro-on) .st-intro{display:none!important}

/* ---- Food case-study pages (work-akn, work-bowlr, work-fresh-fish, work-hod, work-pizza-master…):
        "Selected Work" gets the same soft peach background as the home "What we believe" section ---- */
/* :where() = zero specificity, so a colour picked in Elementor (Style → Section background) always overrides this default */
:where(body[class*="pg-work-"]) .pf3-sec{
  background:
    radial-gradient(640px 360px at 92% 8%,rgba(255,90,31,.16),transparent 70%),
    radial-gradient(520px 320px at 4% 96%,rgba(255,138,61,.18),transparent 70%),
    linear-gradient(180deg,#ffe9da 0%,#fff4eb 52%,#ffe2cf 100%)!important;
}


/* ---- Mobile menu: Services / Pricing sub-items. The desktop hover rule (translate -50%) was still applying on touch/hover and pushed the
        links off-screen to the left, where the menu panel clipped them. ---- */
@media (max-width:900px){
  html body header#hd .dd .sub,
  html body header#hd .dd:hover .sub,
  html body header#hd .dd:focus-within .sub{
    position:static!important;left:auto!important;top:auto!important;transform:none!important;
    width:auto;min-width:0;margin:0;padding:0 0 4px 14px;background:none;box-shadow:none;border-radius:0;
    opacity:1;visibility:visible;
  }
  html body header#hd .dd:not(.open) .sub{display:none!important}
  html body header#hd .dd.open .sub{display:grid!important}
  html body header#hd .dd .sub a{color:rgba(255,255,255,.82)!important;background:none;padding:13px 4px;border-radius:0;border-bottom:1px solid rgba(255,255,255,.07);font-size:.98rem}
  html body header#hd .dd .sub a:hover,html body header#hd .dd .sub a:active{color:var(--or-2,#ff8a3d)!important;background:none;padding-left:10px}
  html body header#hd .dd>a .ar{margin-left:auto}
}

/* ---- About: image + feature-cards section gets a soft peach background (zero specificity: the colour set in Elementor
        → Style → Section background always wins) ---- */
:where(body) :where(.about-sec.ab-feat){
  background:
    radial-gradient(620px 340px at 88% 12%,rgba(255,90,31,.14),transparent 70%),
    radial-gradient(520px 320px at 6% 94%,rgba(255,138,61,.16),transparent 70%),
    linear-gradient(180deg,#fff0e4 0%,#ffe6d2 100%)!important;
}

/* ---- Cursor: always a clearly visible WHITE ring on every orange banner / band / CTA ---- */
.cur.on-or .cur-ring{width:44px;height:44px;margin:-22px 0 0 -22px;border:2px solid #fff;background:transparent;box-shadow:0 0 0 1px rgba(17,17,17,.18),0 0 14px rgba(255,255,255,.35)}
.cur.on-or .cur-dot{background:#fff;box-shadow:0 0 0 1px rgba(17,17,17,.25)}
.cur.on-or.is-link .cur-ring{width:64px;height:64px;margin:-32px 0 0 -32px;background:rgba(255,255,255,.2)}
.cur.on-or.is-view .cur-ring{width:96px;height:96px;margin:-48px 0 0 -48px;background:#fff}

/* ---- Home hero: background image properly visible (was 32% opacity under a 55-92% black overlay) ---- */
.fx-hero-bg{opacity:.78!important;filter:saturate(1.05) brightness(1.05)!important}
.fx-hero::before{background:linear-gradient(180deg,rgba(17,17,17,.18) 0%,rgba(17,17,17,.34) 45%,rgba(17,17,17,.82) 100%),radial-gradient(640px 440px at 84% 16%,rgba(255,90,31,.28),transparent 62%)!important}
.fx-hero-title,.fx-hero-copy,.fx-hero-kicker{text-shadow:0 2px 18px rgba(0,0,0,.55)}
.fx-hero-copy{color:#eee!important}

/* ---- Services tabs: soft shimmer instead of an empty white box while a tab image is still loading ---- */
.svc-offer .pimg{position:relative;background:linear-gradient(100deg,rgba(255,90,31,.06) 30%,rgba(255,90,31,.16) 50%,rgba(255,90,31,.06) 70%);background-size:200% 100%;animation:dsShimmer 1.4s linear infinite}
.svc-offer .pimg img{position:relative;z-index:1;background:transparent}
@keyframes dsShimmer{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.svc-offer .pimg{animation:none}}

/* ---- Image hover zoom (tagged by fx.js → .ds-zi / .ds-zw). Hover devices only; touch screens stay still. ---- */
.ds-zw{overflow:hidden}
.ds-zwrap{display:block;width:fit-content;max-width:100%;overflow:hidden;line-height:0}
.ds-zwrap>img{display:block}
@media (hover:hover) and (pointer:fine){
  img.ds-zi{transition:transform .9s cubic-bezier(.22,1,.36,1);will-change:transform}
  .ds-zw:hover>img.ds-zi,.ds-zw:hover img.ds-zi{transform:scale(1.08)}
}
@media (prefers-reduced-motion:reduce){img.ds-zi{transition:none}.ds-zw:hover img.ds-zi{transform:none}}

/* ---- Services tabs: no curtain-wipe/delay on tab images, instant swap, clean loading state ---- */
html.js .svc-offer .pimg.rv{clip-path:none!important;opacity:1!important;transform:none!important;transition:none!important}
.svc-offer .panel.on{animation-duration:.3s}
body.pg-services .svc-offer .pimg img,.svc-offer .pimg img{background:transparent;opacity:1;transition:opacity .25s ease;aspect-ratio:4/3;object-fit:cover;width:100%;height:auto}
.svc-offer .pimg.is-loading img{opacity:0}
.svc-offer .pimg:not(.is-loading){animation:none;background:none}

/* ---- Service Hero widget: layout & visual options (left/right, own picture, neutral art, animation) ---- */
@media (min-width:901px){
  html body .dh.ds-vis-right.ds-vis-right .g2>:first-child{order:0}
  html body .dh.ds-vis-right.ds-vis-right .g2{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
  html body .dh.ds-vis-left.ds-vis-left .g2>:first-child{order:2}
  html body .dh.ds-vis-left.ds-vis-left .g2{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}
}
/* neutral glowing ball (undo the page's own phone / pen-tool artwork) */
html body .dh.ds-vis-plain.ds-vis-plain .orb.orb{inset:10% 12%;width:auto;height:auto;margin:0;aspect-ratio:auto;border-radius:50%;background:radial-gradient(circle at 30% 26%,#ffd8b4,#ff8a3d 36%,#e24a12 68%,#6e1e07);box-shadow:0 44px 90px -24px rgba(255,90,31,.6),inset -18px -22px 50px rgba(80,20,5,.45);animation:float 8s ease-in-out infinite}
html body .dh.ds-vis-plain.ds-vis-plain .visual.visual{min-height:380px}
html body .dh.ds-vis-plain.ds-vis-plain .visual::before,html body .dh.ds-vis-plain.ds-vis-plain .visual::after{content:none!important}
/* own picture */
html body .dh.ds-vis-image.ds-vis-image .orb.orb{display:none}
html body .dh.ds-vis-image.ds-vis-image .visual.visual{min-height:380px}
html body .dh.ds-vis-image.ds-vis-image .visual::before,html body .dh.ds-vis-image.ds-vis-image .visual::after{content:none!important}
.dh .visual .ds-vimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:26px;box-shadow:0 34px 60px -22px rgba(0,0,0,.7);animation:float 8s ease-in-out infinite}
/* nothing */
html body .dh.ds-vis-none.ds-vis-none .visual.visual{display:none}
html body .dh.ds-vis-none.ds-vis-none .g2.g2{grid-template-columns:minmax(0,1fr)}
html body .dh.ds-vis-none.ds-vis-none .g2>:first-child{order:0}
/* cards off */
html body .dh.ds-vis-nocards .vcard,html body .dh.ds-vis-nocards .vc3{display:none}
/* animation presets */
@keyframes dsVPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}
@keyframes dsVSway{0%,100%{transform:translateX(-10px) rotate(-1.2deg)}50%{transform:translateX(10px) rotate(1.2deg)}}
html body .dh.ds-va-none .visual .orb,html body .dh.ds-va-none .visual .vcard,html body .dh.ds-va-none .visual .vc3,html body .dh.ds-va-none .visual .ds-vimg,html body .dh.ds-va-none .visual .sp{animation:none!important}
html body .dh.ds-va-float .visual .orb,html body .dh.ds-va-float .visual .vcard,html body .dh.ds-va-float .visual .vc3,html body .dh.ds-va-float .visual .ds-vimg{animation:float 6s ease-in-out infinite}
html body .dh.ds-va-pulse .visual .orb,html body .dh.ds-va-pulse .visual .vcard,html body .dh.ds-va-pulse .visual .vc3,html body .dh.ds-va-pulse .visual .ds-vimg{animation:dsVPulse 3.2s ease-in-out infinite}
html body .dh.ds-va-sway .visual .orb,html body .dh.ds-va-sway .visual .vcard,html body .dh.ds-va-sway .visual .vc3,html body .dh.ds-va-sway .visual .ds-vimg{animation:dsVSway 6s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){html body .dh .visual .orb,html body .dh .visual .vcard,html body .dh .visual .vc3,html body .dh .visual .ds-vimg{animation:none!important}}

/* ---- Logged-in admin bar: keep the fixed site header BELOW the WordPress toolbar (it used to hide the logo / menu behind it) ---- */
html body.admin-bar header#hd{top:32px}
@media (max-width:782px){html body.admin-bar header#hd{top:46px}}
@media (max-width:900px){
  html body.admin-bar header#hd nav{top:calc(var(--hdr) + 32px);height:calc(100vh - var(--hdr) - 32px)}
}
@media (max-width:782px){
  html body.admin-bar header#hd nav{top:calc(var(--hdr) + 46px);height:calc(100vh - var(--hdr) - 46px)}
}

/* ---- Category pages (Food …): the page body is a full-bleed block, never a padded white "section" ---- */
html body main section.dsc-page{padding:0!important;margin-top:0!important;background:transparent!important;border-radius:0!important;overflow:visible!important}
html body main section.dsc-page::before{display:none!important}
