/* LOOP CREATIVO / ATELIER EXPERIENCE 1.1.0
 * Compatible with loop-creativo-cursor-child + loop-creativo-award-theme.
 * Every selector is gated by .lca-experience; deactivate plugin to roll back.
 * All images, page templates, shortcodes, WooCommerce and translations stay native.
 */
body.lca-experience {
  --lca-ink: #19141e;
  --lca-muted: #655f6b;
  --lca-subtle: #908a96;
  --lca-canvas: #faf9f7;
  --lca-paper: #fff;
  --lca-lilac: #f3f0f8;
  --lca-line: rgba(42, 31, 51, .13);
  --lca-violet: #6444ed;
  --lca-fuchsia: #ca4acb;
  --lca-coral: #ff8363;
  --lca-gradient: linear-gradient(111deg, #307bfa 0%, #6651eb 34%, #c14ed1 68%, #ff936a 100%);
  --lca-sans: 'Helvetica Neue', 'Inter', 'Arial', system-ui, sans-serif;
  --lca-ease: cubic-bezier(.19, 1, .22, 1);
  --lca-gutter: clamp(22px, 5.35vw, 104px);
  color: var(--lca-ink);
  font-family: var(--lca-sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lca-experience, body.lca-experience * {box-sizing: border-box}
body.lca-experience ::selection {background: #d5b7fd; color: #171018}
body.lca-experience :focus-visible {outline: 2px solid var(--lca-violet)!important;outline-offset: 5px}
body.lca-experience :is(button, input, select, textarea, a) {touch-action: manipulation}
body.lca-experience :is(p, ul, ol, blockquote) {overflow-wrap: break-word}
body.lca-experience :is(h1,h2,h3,h4) {text-wrap: balance}
body.lca-experience :is(p, li) {text-wrap: pretty}
body.lca-experience img, body.lca-experience video {max-width: 100%}
/* Prevent any theme from forcing a page-wide horizontal scrollbar. */
body.lca-experience {overflow-x: clip}
body.lca-experience :is(.lc-site-main, main#main, .lcv2-main) {min-width: 0}

/* 01 / Type. Preserve existing WordPress H1 and structured SEO hierarchy. */
body.lca-experience :is(.lc-page-title, .lcv2-display, .lcv37-hero-title, .lcv40-phase-title, .lc-home-title) {
  font-family: var(--lca-sans)!important;
  font-optical-sizing: auto;
  font-weight: 800;
  letter-spacing: -.058em!important;
  line-height: 1.03;
  font-kerning: normal;
}
body.lca-experience .lc-page-title {
  font-size: clamp(42px, 6.05vw, 93px)!important;
  line-height: 1.025!important;
  max-width: 15ch;
}
body.lca-experience .lcv2-display {
  font-size: clamp(37px, 5.7vw, 86px)!important;
  line-height: 1.03;
}
body.lca-experience :is(.lcv37-hero-title, .lcv-work-opening #heroTitle) {
  font-size: clamp(49px, 6.25vw, 91px)!important;
  line-height: 1.025!important;
  letter-spacing: -.063em!important;
}
body.lca-experience :is(.lc-section h2, .lc-section-title, .lcv2-section h2, .lcv2-cta h2) {
  font-family: var(--lca-sans);
  letter-spacing: -.049em;
  line-height: 1.06;
}
body.lca-experience :is(.lc-kicker, .lcv2-kicker, .lcv35-footer-kicker, .lcv-work-opening-eyebrow) {
  font-family: var(--lca-sans)!important;
  font-size: clamp(9px, .76vw, 11px)!important;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .155em!important;
  text-transform: uppercase;
}
body.lca-experience :is(.lc-lead, .lcv2-lead, .lc-page-intro, .lcv2-intro) {
  font-family: var(--lca-sans);
  font-size: clamp(16px, 1.42vw, 20px);
  font-weight: 400;
  line-height: 1.57;
  letter-spacing: -.019em;
  max-width: 62ch;
}
body.lca-experience :is(.lc-body-copy, .lc-section-copy, .lcv2-copy, .lcv2-card p) {
  font-family: var(--lca-sans);
  line-height: 1.62;
  letter-spacing: -.008em;
}
body.lca-experience .wp-block-heading {overflow-wrap: normal;hyphens: auto}
body.lca-experience :is(.lc-section, .lcv2-section, .wp-block-group) :is(h2,h3) {scroll-margin-top: 105px}

/* 02 / Global links — one editorial motion grammar, without changing URLs. */
body.lca-experience main a:not(.wp-block-button__link):not(.button):not([class*="pill"]):not([class*="card"]):not([class*="tile"]):not([class*="module"]):not([class*="project"]):not([class*="row"]),
body.lca-experience .lcv35-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: .19em;
  transition: color .25s ease, text-decoration-color .25s ease;
}
body.lca-experience main a:not(.wp-block-button__link):not(.button):hover,
body.lca-experience main a:not(.wp-block-button__link):not(.button):focus-visible {
  text-decoration-color: currentColor;
}
body.lca-experience :is(.lc-action, .lcv2-pill, .lcv2-arrow-link, .lcv2-text-link, .lcv2-pill-light, .nav-cta, .wp-block-button__link) {
  -webkit-tap-highlight-color: transparent;
  font-family: var(--lca-sans)!important;
  font-size: clamp(11px, .85vw, 13px);
  font-weight: 750;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .4s var(--lca-ease), transform .4s var(--lca-ease);
}
body.lca-experience :is(.lc-action, .lcv2-pill, .lcv2-pill-light, .wp-block-button__link) {
  border-radius: 100px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 22px;
  white-space: normal;
  text-align: center;
}
body.lca-experience :is(.lc-action, .lcv2-pill, .lcv2-pill-light, .wp-block-button__link):hover {
  box-shadow: 0 8px 23px rgba(60, 39, 94, .12);
}
body.lca-experience :is(.lcv2-arrow-link, .lcv2-text-link, .lca-inline-arrow, .lc-inline-link) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  text-decoration: none!important;
}
body.lca-experience :is(.lcv2-arrow-link, .lcv2-text-link, .lc-inline-link):hover,
body.lca-experience :is(.lcv2-arrow-link, .lcv2-text-link, .lc-inline-link):focus-visible {
  color: var(--lca-violet);
}
/* Respect preexisting navigation portal and its single handler. */
body.lca-experience #lcu-nav-theatre :is(a,button),
body.lca-experience #lcu-transition-theatre :is(a,button) {transition-duration: inherit}

/* 03 / Headers. Transparent visual cleanup without reimplementing menus. */
body.lca-experience .header {
  border-bottom: 1px solid rgba(39, 32, 43, .075);
  backdrop-filter: saturate(1.15) blur(18px);
  -webkit-backdrop-filter: saturate(1.15) blur(18px);
}
body.lca-experience .header .wrap.head-inner {max-width: none;padding-inline: var(--lca-gutter)}
body.lca-experience .header .logo, body.lca-experience .lcv35-footer-logo {
  flex-shrink: 0;
}
body.lca-experience .header .logo img, body.lca-experience .lcv35-footer-logo img {
  object-fit: contain;
  height: auto;
}
body.lca-experience .nav > a {
  font-size: clamp(11px, .9vw, 13px);
  font-family: var(--lca-sans);
  letter-spacing: -.01em;
  font-weight: 650;
}
body.lca-experience .nav > a:not(.nav-cta):hover {color: var(--lca-violet)}
body.lca-experience :is(.menu-toggle, .lcv35-menu-open, #menuToggle) {font-family: var(--lca-sans);font-weight: 700}

/* The homepage uses its own header; preserve its branding and click behaviour. */
body.lca-experience .site-header.lcv2-header {
  backdrop-filter: saturate(1.12) blur(18px);
  -webkit-backdrop-filter: saturate(1.12) blur(18px);
  border-bottom-color: rgba(35, 26, 44, .065);
}
body.lca-experience .lcv2-header :is(.lcv2-header-link, #menuToggle) {
  font-family: var(--lca-sans);
  font-size: clamp(10px, .85vw, 13px);
  letter-spacing: .045em;
  font-weight: 750;
}
body.lca-experience .lcv2-brand img {object-fit: contain;max-width: 100%;height: auto}
/* Current child theme can print both a legacy footer and a newer editorial one.
   Remove only the duplicate from the visual experience, never from WordPress. */
body.lca-experience footer.lc-site-footer[hidden],
body.lca-experience footer.lc-site-footer:has(~ footer.lcv35-footer) {display: none!important}

/* 04 / Home opening: editorial quietness + cinematic light field driven by scroll. */
body.lca-front .lcv-work-opening {isolation: isolate;overflow: clip}
body.lca-front.lca-ambient .lcv-work-opening::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: min(49vw, 700px);
  height: min(49vw, 700px);
  top: 4%;
  right: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 116, 244, .085) 0%, rgba(226, 160, 246, .05) 34%, transparent 68%);
  filter: blur(22px);
  transform: translate3d(calc(var(--lca-scene-progress, .4) * -7vw), calc(var(--lca-scene-progress, .4) * 9vw), 0);
  transition: opacity .5s ease;
}
body.lca-front .lcv-work-opening > * {position: relative;z-index: 1}
body.lca-front .lcv-work-opening-copy {position: relative;z-index: 1}
body.lca-front .lcv-work-opening-layout {max-width: 1420px}
body.lca-front .lcv-work-opening :is(.lcv2-pill, .lcv2-text-link, .lcv2-arrow-link) {min-height: 46px}
body.lca-front .lcv-work-opening-meta {letter-spacing: .14em}
body.lca-front :is(.lcv2-manifesto, .lcv2-services, .lcv2-works, .lcv2-modules, .lcv2-insights) {
  isolation: isolate;
}

/* 05 / Content scale, work and module cards, image language. */
body.lca-experience :is(.lc-page-hero, .lc-inner-hero, .lc-editorial-hero) {padding-inline: var(--lca-gutter)}
body.lca-experience :is(.lc-page-hero, .lc-inner-hero) p {max-width: 62ch;line-height: 1.65}
body.lca-experience :is(.lc-module-row, .lcv2-module, .lc-project-card, .lcv2-project, .lcv2-tile, .lcv2-service-card) {
  isolation: isolate;
  position: relative;
  transition: border-color .4s ease, box-shadow .48s var(--lca-ease), background-color .4s ease;
}
body.lca-experience :is(.lc-module-row, .lcv2-module, .lc-project-card, .lcv2-project, .lcv2-tile, .lcv2-service-card):hover {
  border-color: rgba(117, 83, 194, .3);
}
body.lca-experience :is(.lcv2-module, .lc-module-row) h3 {
  font-family: var(--lca-sans);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}
body.lca-experience :is(.lcv2-module, .lc-module-row) p {line-height: 1.6}
body.lca-experience :is(.lc-project-card, .lcv2-project, .lcv2-work-card) img {
  object-fit: cover;
  transition: filter .6s ease;
}
body.lca-experience :is(.lc-project-card, .lcv2-project, .lcv2-work-card):hover img {
  filter: saturate(1.07) contrast(1.025);
}
/* Reflective surface is a real pointer-driven light shift, never a fake 3D claim. */
body.lca-ambient .lca-ambient-target > .lca-lightspot {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(210px circle at var(--lca-cursor-x, 50%) var(--lca-cursor-y, 50%), rgba(133, 106, 255, .085), transparent 75%);
  transition: opacity .35s ease;
}
body.lca-ambient .lca-ambient-target:hover > .lca-lightspot {opacity: 1}
/* On linked cards the entire surface remains clickable. */
body.lca-experience :is(.lc-module-row, .lcv2-module, .lcv2-tile, .lcv2-project) a {position: relative;z-index: 2}

/* 06 / Home storytelling: progress-tied spatial lighting, no forced opacity. */
body.lca-front.lca-motion .lca-scene {--lca-scene-progress: .25}
body.lca-experience .lca-reveal-ready {transition: opacity .65s ease, filter .65s ease}
body.lca-experience .lca-reveal-ready:not(.lca-revealed) {filter: saturate(.9)}
body.lca-experience .lca-revealed {filter: none}
/* The preexisting multi-scene pinned chapter is left structurally untouched. */
body.lca-front #lcv3-threshold {scroll-margin-top: 0}

/* 07 / Module visual UI — clear product content rather than giant novelty type. */
body.lca-experience :is(.lc-module-preview, .lc-preview-panel, .lc-product-workspace) {
  border-color: rgba(84, 64, 107, .16);
  box-shadow: 0 15px 42px rgba(33, 22, 57, .045);
}
body.lca-experience :is(.lc-module-preview, .lc-preview-panel) :is(span,p,small) {
  text-wrap: pretty;
}
body.lca-experience .lc-module-row .lc-action {min-height: 44px}
body.lca-experience :is(.lc-page-title, .lc-page-hero h1) + p {max-width: 64ch}

/* 08 / Blog, Insights, archive and project pages. */
body.lca-experience :is(.lc-insight-card, .lc-article-card, .lcv2-insight-row, article.post) {
  transition: border-color .35s ease, background-color .35s ease;
}
body.lca-experience :is(.lc-insight-card, .lc-article-card, .lcv2-insight-row, article.post):hover {
  border-color: rgba(111, 86, 150, .3);
}
body.lca-experience :is(.lc-insight-card, .lc-article-card, .lcv2-insight-row, article.post) h3 {
  font-family: var(--lca-sans);
  font-weight: 740;
  letter-spacing: -.035em;
  line-height: 1.2;
}
body.lca-experience :is(.lc-insight-card, .lc-article-card, article.post) p {line-height: 1.65}
body.lca-experience :is(.lc-project-header, .lc-project-detail) img {border-radius: 3px}

/* 09 / Contact, diagnostic, forms. Never hide native validators or consent. */
body.lca-experience :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
  font-family: var(--lca-sans);
  font-size: 15px;
  line-height: 1.4;
  border-radius: 3px;
  transition: border-color .22s ease, box-shadow .22s ease;
}
body.lca-experience :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus-visible {
  border-color: var(--lca-violet);
  box-shadow: 0 0 0 3px rgba(100, 68, 237, .1);
  outline: none!important;
}
body.lca-experience :is(label, legend) {text-wrap: pretty}
body.lca-experience :is(.wpcf7-response-output, .wpforms-error, .error, .woocommerce-error) {
  overflow-wrap: anywhere;
}
body.lca-experience .wpcf7 input[type="submit"] {
  border-radius: 99px;
  min-height: 49px;
  padding-inline: 24px;
  cursor: pointer;
}
/* Ensure click-through and focus for forms next to cinematic scenes. */
body.lca-experience :is(form, .wpcf7, .wpforms-container) {position: relative;z-index: 2}

/* 10 / Footer identity, shared between every template. */
body.lca-experience .lcv35-footer {font-family: var(--lca-sans)}
body.lca-experience .lcv35-footer-dark {position: relative;isolation: isolate;overflow: clip}
body.lca-experience .lcv35-footer-dark::before {
  content: '';
  pointer-events: none;
  position: absolute;
  width: min(54vw, 800px);
  aspect-ratio: 1;
  top: -75%;
  right: -22%;
  background: radial-gradient(circle, rgba(115, 60, 235, .18), rgba(204, 80, 187, .045) 45%, transparent 72%);
  filter: blur(35px);
}
body.lca-experience .lcv35-footer-grid {position: relative;z-index: 1}
body.lca-experience .lcv35-footer-col a {
  text-decoration: none;
  text-underline-offset: 5px;
}
body.lca-experience .lcv35-footer-col a:hover,
body.lca-experience .lcv35-footer-col a:focus-visible {text-decoration: underline}
body.lca-experience .lcv35-footer-claim {font-weight: 650;letter-spacing: -.02em}
body.lca-experience .lcv35-footer-directory summary {cursor: pointer}
body.lca-experience .lcv35-footer-directory summary:focus-visible {outline-offset: 6px}

/* 11 / Commerce screens stay usable and fully native. */
body.lca-transaction .lca-scene, body.lca-transaction .lca-reveal-ready {animation: none!important}
body.lca-experience.woocommerce-page :is(.woocommerce button.button, .woocommerce a.button, .woocommerce input.button) {
  border-radius: 100px;
  padding: 14px 21px;
  min-height: 46px;
  font-weight: 700;
  letter-spacing: .01em;
}
body.lca-experience.woocommerce-page :is(.woocommerce-checkout, .woocommerce-cart-form, .woocommerce-account) {
  max-width: 100%;
}
body.lca-experience .woocommerce table.shop_table {max-width: 100%;border-color: var(--lca-line)}

/* 12 / Discreet document progress: no click interception. */
body.lca-experience .lca-page-progress {
  position: fixed;
  z-index: 2147482000;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  background: transparent;
  contain: layout style;
}
body.lca-experience .lca-page-progress > span {
  display: block;
  width: var(--lca-progress, 0%);
  height: 100%;
  background: var(--lca-gradient);
  transition: width .08s linear;
}

@media (max-width: 1199px) {
  body.lca-experience {--lca-gutter: clamp(24px, 4.4vw, 62px)}
  body.lca-experience .lc-page-title {font-size: clamp(42px, 6.3vw, 78px)!important}
  body.lca-experience .lcv2-display {font-size: clamp(38px, 5.85vw, 72px)}
}
@media (max-width: 860px) {
  body.lca-experience {--lca-gutter: 22px}
  body.lca-experience .header .wrap.head-inner {padding-inline: 22px}
  body.lca-experience .lc-page-title {font-size: clamp(40px, 9.1vw, 68px)!important;max-width: 100%}
  body.lca-experience :is(.lcv37-hero-title, .lcv-work-opening #heroTitle) {font-size: clamp(44px, 8.7vw, 68px)!important}
  body.lca-experience .lcv2-display {font-size: clamp(35px, 8.3vw, 68px)}
  body.lca-experience :is(.lc-action, .lcv2-pill, .wp-block-button__link) {min-height: 48px}
  body.lca-front.lca-ambient .lcv-work-opening::after {width: 74vw;height: 74vw;right: -30vw;top: 5%}
  body.lca-experience :is(.lc-project-card, .lcv2-project, .lc-module-row) {min-width: 0}
}
@media (max-width: 600px) {
  body.lca-experience {--lca-gutter: 20px}
  body.lca-experience .lc-page-title {font-size: clamp(38px, 10.8vw, 55px)!important;line-height: 1.035!important}
  body.lca-experience :is(.lcv37-hero-title, .lcv-work-opening #heroTitle) {font-size: clamp(44px, 11vw, 62px)!important;line-height: 1.02!important}
  body.lca-experience .lcv2-display {font-size: clamp(36px, 9vw, 56px)!important}
  body.lca-experience :is(.lc-lead,.lcv2-lead,.lc-page-intro) {font-size: 16px;line-height: 1.6}
  body.lca-experience .header .wrap.head-inner {padding-inline: 20px}
  body.lca-experience .lcv35-footer-dark {padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right))}
  body.lca-experience .lcv35-footer-col {min-width: 0}
  body.lca-experience .lcv35-footer-col a {overflow-wrap: anywhere}
  body.lca-experience .lcv35-footer-legal {flex-wrap: wrap}
  body.lca-experience :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {max-width: 100%}
  body.lca-experience :is(.lc-action, .lcv2-pill, .wp-block-button__link) {white-space: normal}
}
@media (prefers-reduced-motion: reduce), (update: slow) {
  body.lca-experience *,body.lca-experience *::before,body.lca-experience *::after {
    scroll-behavior: auto!important;
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
  }
  body.lca-experience .lca-ambient-target > .lca-lightspot,
  body.lca-experience .lcv-work-opening::after {display: none!important}
}
