/*
Theme Name: TCG Executive Future
Theme URI: https://thecorporateguide.com/
Author: The Corporate Guide
Description: Premium animated corporate digital marketplace and AI intelligence WordPress theme with WooCommerce support.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: tcg-executive-future
*/

:root{--navy:#071522;--navy2:#0d2030;--teal:#5ce5d4;--mint:#b4fff0;--ink:#132333;--muted:#526675;--line:#dce6e9;--white:#f7fcff;--shadow:0 3px 12px #1323330b}
*{box-sizing:border-box}body{margin:0;background:#f3f7f8;color:var(--ink);font:400 14px/1.6 Inter,system-ui,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}h1,h2,h3,h4{line-height:1.3;font-weight:700;letter-spacing:normal;margin:0 0 10px;overflow-wrap:anywhere}p{margin:0 0 12px}h1{font-size:30px}h2{font-size:24px}h3{font-size:16px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #1679c4;outline-offset:3px}.container{width:calc(100% - clamp(32px,6vw,112px));max-width:1600px;margin-inline:auto}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link:focus{position:fixed;top:8px;left:8px;z-index:9999;background:white;padding:12px}.site-header{position:sticky;top:0;z-index:80;background:var(--navy);color:white}.admin-bar .site-header{top:32px}.nav-wrap{min-height:60px;display:flex;align-items:center;gap:18px;position:relative}.brand{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:700;white-space:nowrap}.brand-mark{border-block:2px solid var(--teal);padding:4px 6px;font-size:14px}.site-nav{display:flex;align-items:center;gap:20px;margin-left:auto}.site-nav a{font-size:13px;font-weight:500;color:#d5e3ea;display:flex;align-items:center;min-height:44px}.site-nav a:hover{color:var(--teal)}.utility-link{justify-content:center;min-width:44px}.menu-toggle{display:none;background:transparent;color:white;border:1px solid #526675;border-radius:6px;padding:8px 12px;min-height:44px}.btn,.small-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;padding:8px 13px;font-size:13px;font-weight:600;line-height:1.4;min-height:40px;text-align:center;white-space:normal;max-width:100%;transition:background .2s,transform .2s}.btn-primary{background:linear-gradient(110deg,#25bfae,#68f2df);color:#07212a}.btn-outline{border:1px solid #79909a;color:white}.small-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:#e3f9f5;color:#08655e}.btn:hover,.small-btn:hover{transform:translateY(-2px)}.hero{background:radial-gradient(ellipse at 78% 54%,#124a53,transparent 50%),linear-gradient(125deg,#061421,#0a2230);color:white;overflow:hidden}.hero-inner{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:24px;padding:30px 0}.hero h1{font-size:clamp(32px,3.5vw,42px);margin:10px 0;line-height:1.2}.hero h1 em{font-style:normal;color:var(--teal)}.hero p{color:#c4d8e2;font-size:15px;max-width:500px}.eyebrow,.kicker,.tag{font-size:11px;font-weight:600;letter-spacing:.045em;color:#08756e;text-transform:uppercase}.eyebrow{color:var(--teal)}.hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.hero-art{position:relative;min-height:255px;min-width:0}.glow{position:absolute;inset:0;background:radial-gradient(circle,#35ead633,transparent 65%);animation:breathe 5s ease-in-out infinite}.orb{position:absolute;width:170px;height:170px;left:20%;top:15%;border-radius:50%;background:radial-gradient(circle at 30% 25%,#a4fff4,#13505d 45%,#020b18 90%);animation:float 7s ease-in-out infinite}.glass{position:absolute;border:1px solid #ffffff40;background:#224b59dd;border-radius:12px;color:white;box-shadow:0 8px 24px #0003}.dash{right:0;top:25%;width:210px;padding:12px;animation:float 6s ease-in-out infinite}.dash-top{display:flex;justify-content:space-between;font-size:10px;gap:4px}.dash small,.mini-card small{font-size:9px;color:#c2d8df}.bars{height:65px;display:flex;align-items:flex-end;gap:8px;margin:20px 0 4px}.bar{flex:1;position:relative;border-radius:4px 4px 0 0;background:linear-gradient(#80fff0,#0faeab)}.bar:nth-child(2){background:linear-gradient(#a9dfff,#3c8bcf)}.bar:nth-child(3){background:linear-gradient(#c2ffc2,#56b68e)}.bar:nth-child(4){background:linear-gradient(#ffe2aa,#e6a05a)}.bar:after{content:attr(data-label);position:absolute;top:-16px;font-size:9px}.bar-labels{display:flex;justify-content:space-around;font-size:10px}.mini-card{left:0;bottom:10px;width:155px;padding:10px;animation:float 5.3s ease-in-out infinite}.mini-card strong{display:block;font-size:12px}.meter{height:4px;background:var(--teal);margin:5px 0}.float-pill{right:10px;top:0;padding:6px 10px;font-size:9px;animation:float 5s ease-in-out infinite}@keyframes float{50%{transform:translateY(-7px)}}@keyframes breathe{50%{opacity:.6}}
.tcg-search{display:flex;gap:6px;max-width:500px;margin:12px 0}.tcg-search input{flex:1;min-width:0;border:1px solid #aebfc9;border-radius:7px;padding:9px 11px;background:white;color:var(--ink)}.tcg-search button{border:0;border-radius:7px;background:#1abcae;color:#082332;padding:8px 14px;font-weight:600}.section{padding:30px 0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section h2{font-size:24px;margin:4px 0}.section-sub{font-size:14px;color:var(--muted);max-width:650px;margin:0 0 8px}.section-link{color:#08655e;font-size:13px;font-weight:600}.grid,.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.feature-card,.product-card,.article-card,.tool,.ct-card{min-width:0;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow:hidden}.feature-card,.tool{padding:14px}.feature-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#e0f9f5;color:#08756e;font-size:20px}.product-card,.article-card{display:flex;flex-direction:column}.product-card{text-align:center}.product-cover{height:112px;display:grid;place-items:center;background:linear-gradient(145deg,#e0f2fe,#e0e7ff);overflow:hidden}.product-cover img{width:100%;height:112px;object-fit:contain}.tcg-product-symbol,.tool-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:linear-gradient(145deg,var(--icon-a,#38bdf8),var(--icon-b,#4338ca));color:white}.tool-symbol svg,.tcg-product-symbol svg{width:55%;height:55%}.tone-1{--icon-a:#60a5fa;--icon-b:#1d4ed8}.tone-2{--icon-a:#a78bfa;--icon-b:#6d28d9}.tone-3{--icon-a:#34d399;--icon-b:#047857}.tone-4{--icon-a:#fb923c;--icon-b:#c2410c}.tone-5{--icon-a:#22d3ee;--icon-b:#0e7490}.tone-6{--icon-a:#f472b6;--icon-b:#be185d}.tone-7{--icon-a:#818cf8;--icon-b:#4338ca}.tone-8{--icon-a:#fbbf24;--icon-b:#b45309}.product-info,.article-info{padding:12px;flex:1;display:flex;flex-direction:column;gap:5px}.product-info{align-items:center}.product-info h3,.article-info h3{font-size:15px;margin:0}.product-info p,.article-info p,.tool p{font-size:13px;color:var(--muted);margin:0 0 6px}.product-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:5px}.price{font-size:15px;font-weight:600}.editorial-thumb{height:118px;background:#164653;color:#b4fff0;display:grid;place-items:center;font-size:28px;overflow:hidden}.editorial-thumb img{width:100%;height:118px;object-fit:cover}.article-info .section-link{margin-top:auto}.tools-section{background:#e8f2f2}.tool label{display:block;font-size:12px;font-weight:600}.tool input,.ct-card input,.ct-card textarea,.ct-card select{width:100%;border:1px solid #aebfc9;border-radius:6px;padding:8px;background:white;color:var(--ink)}.tool output{display:block;margin-top:10px;font-weight:600;color:#08655e}.page-main{padding:24px 0;min-height:45vh}.page-main h1{font-size:28px;margin:6px 0 12px}.entry{max-width:760px;font-size:16px;line-height:1.75;overflow-wrap:anywhere}.entry h2{font-size:22px;margin:22px 0 8px}.entry h3{font-size:18px;margin:16px 0 8px}.entry a,.search-results h2 a{color:#08655e;text-decoration:underline}.entry img{border-radius:8px}.pagination,.nav-links{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.page-numbers{padding:7px 10px;border:1px solid var(--line);border-radius:5px}.news-categories{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.search-results{max-width:760px}.search-results article{padding:12px 0;border-bottom:1px solid var(--line)}.search-results h2{font-size:17px;margin:3px 0}.footer{background:var(--navy);color:#c3d3da;padding:24px 0 14px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.5fr;gap:18px}.footer h4{font-size:13px;color:white;margin:0 0 7px}.footer a{display:block;font-size:12px;color:#c3d3da;margin:4px 0}.footer .brand{display:flex;font-size:14px}.footer p{font-size:12px}.footer-bottom{border-top:1px solid #ffffff26;margin-top:16px;padding-top:12px;font-size:12px}.ct-grid,#marketplace .grid,.woocommerce ul.products,.wc-block-product-template{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch}.ct-grid{margin:16px 0}.ct-directory .ct-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px;gap:6px}.ct-directory .ct-card h2{font-size:15px;margin:0}.ct-directory .ct-card p{font-size:13px;color:var(--muted);margin:0 0 3px}.ct-directory .ct-card .btn{margin-top:auto;font-size:12px;min-height:40px;padding:7px 12px}.ct-workspace .ct-card{max-width:100%;margin:16px 0;padding:24px}.ct-workspace .ct-card h2{display:none}.ct-card form{display:grid;gap:7px}.ct-card label{font-weight:600;font-size:13px}.ct-card label input,.ct-card label select{display:block;margin-top:4px}.ct-actions{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}.ct-result{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#f1f6f7;padding:12px;border-radius:7px;margin:5px 0}.ct-viz{display:grid;gap:8px}.ct-viz span{display:block}.ct-viz progress{width:100%;accent-color:#08756e}.ct-card button:disabled{opacity:.5;cursor:default}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0;background:white;border:1px solid var(--line);border-radius:10px;padding:10px;display:flex;flex-direction:column;align-items:center;text-align:center;overflow-wrap:anywhere}.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{width:100%}.woocommerce ul.products li.product a img{width:100%;height:120px;object-fit:contain;margin:0 auto 8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.35}.woocommerce ul.products li.product .button{margin-top:auto}.woocommerce div.product{background:white;padding:16px;border-radius:10px}.woocommerce input,.woocommerce select,.woocommerce textarea{font-size:16px}.wc-block-components-main,.wc-block-components-sidebar{min-width:0}.reveal{opacity:1;transform:none}.reveal.in-view{animation:appear .35s ease-out}@keyframes appear{from{transform:translateY(5px)}to{transform:none}}
@media(max-width:1000px){.ct-grid,#marketplace .grid,.woocommerce ul.products,.wc-block-product-template{grid-template-columns:repeat(3,minmax(0,1fr))!important}.site-nav{gap:10px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.container{width:calc(100% - 24px)}.nav-wrap{min-height:56px;gap:6px}.brand{font-size:14px}.menu-toggle{display:block;margin-left:auto}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--navy);padding:10px 16px;flex-direction:column;align-items:stretch;gap:0}.site-nav.open{display:flex}.site-nav a{font-size:14px}.utility-link{justify-content:flex-start}.hero-inner{grid-template-columns:1fr;padding:22px 0;gap:12px}.hero h1{font-size:32px}.hero-art{min-height:220px;max-width:340px;width:100%;margin:auto}.section{padding:22px 0}.section h2{font-size:22px}.section-head{align-items:flex-start;flex-wrap:wrap}.page-main{padding:18px 0}.page-main h1{font-size:25px}.grid,.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ct-grid,#marketplace .grid,.woocommerce ul.products,.wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.ct-directory .ct-card{padding:10px 7px}.ct-directory .ct-card h2{font-size:14px}.ct-directory .ct-card p{font-size:12px}.ct-directory .tool-symbol{width:36px;height:36px}.ct-directory .ct-card .btn,.small-btn{min-height:44px}.product-cover,.product-cover img,.woocommerce ul.products li.product a img{height:95px}.product-info,.article-info{padding:9px}.product-info h3,.article-info h3{font-size:14px}.editorial-thumb,.editorial-thumb img{height:95px}.tools-section .grid{grid-template-columns:1fr}.tools-section .tool{grid-column:auto!important}.tcg-search input,.ct-card input,.ct-card select,.ct-card textarea,.tool input{font-size:16px}.footer-grid{gap:12px}.footer .brand{white-space:normal}.entry{font-size:16px}.entry h2{font-size:20px}.ct-workspace .ct-card{padding:12px}.admin-bar .site-header{top:46px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body:has(.ct-workspace) .site-header,body:has(.ct-workspace) footer,.ct-workspace form>label,.ct-workspace form>input,.ct-workspace form>textarea,.ct-workspace form>select,.ct-workspace button,.ct-workspace .section-link{display:none!important}.ct-workspace .ct-card{box-shadow:none;border:0}.ct-workspace .ct-result{background:white;color:black}}


/* Homepage: single responsive layout */
.home .container{width:calc(100% - clamp(32px,6vw,112px));max-width:1600px}
.home .hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);padding:clamp(48px,6vh,80px) 0;min-height:clamp(520px,calc(100svh - 60px),900px)}
.home .hero h1{font-size:clamp(48px,4.5vw,76px);line-height:1.12;margin:8px 0;font-weight:700}
.home .hero p{font-size:16px;line-height:1.5;max-width:540px;margin-bottom:8px}
.home .hero-art{min-height:410px;width:100%;max-width:none}
.home .hero-art .orb{width:clamp(220px,20vw,340px);height:clamp(220px,20vw,340px);top:8%;left:25%}
.home .hero-art .dash{width:58%;max-width:400px;top:20%;padding:18px}
.home .hero-art .bars{height:110px;margin-top:20px}
.home .hero-art .mini-card{width:40%;max-width:240px;bottom:4px;padding:14px}
.home .tcg-search{max-width:600px;margin:14px 0}
.home .hero-actions{margin-top:8px}
.home .section{padding:18px 0}
.home .section-head{margin-bottom:10px}
.home .section-head h2{font-size:24px;line-height:1.25;margin:3px 0;font-weight:700}
.home .section-sub{margin-bottom:0}
.home-tools .ct-grid{margin:0;gap:10px!important}
.home-tools .ct-card{padding:10px 8px;gap:5px;min-height:0}
.home-tools .ct-card h3{font-size:14px;line-height:1.3;margin:0}
.home-tools .tool-symbol{width:36px;height:36px;border-radius:9px}
.home-tools .ct-card p{font-size:12px;line-height:1.4;margin:0}
.home-tools .ct-card .btn{background:#e3f9f5;color:#08655e;min-height:32px;padding:5px 10px;width:auto;align-self:center}
.market-preview{grid-column:1/-1;background:white;border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.market-preview p{flex:1;min-width:180px;margin:0;color:var(--muted)}
@media(max-width:1000px){.home .container{width:calc(100% - 40px)}.home .hero-inner{gap:16px}.home .hero-art .mini-card{padding:7px}}
@media(max-width:700px){.home .container{width:calc(100% - 28px)}.home .hero-inner{grid-template-columns:1fr;padding:24px 0;gap:8px;min-height:0}.home .hero h1{font-size:32px}.home .hero-art{display:none}.home .section-head h2{font-size:22px}.home .section{padding:18px 0}.home-tools .ct-card{padding:10px 7px}.home-tools .ct-card h3{font-size:14px}.home-tools .ct-card .btn{min-height:44px}.home-tools .ct-grid{gap:8px!important}}

/* Responsive header and readable mobile hero */
html{scroll-padding-top:76px}.admin-bar{scroll-padding-top:108px}
@media(min-width:701px) and (max-width:1000px){.home .hero-inner{min-height:440px;padding:36px 0}.home .hero h1{font-size:clamp(36px,5vw,48px)}.home .hero-art{min-height:300px}.home .hero-art .orb{width:180px;height:180px}.home .hero-art .dash{padding:10px}.home .hero-art .bars{height:65px}}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:700px){.nav-wrap{flex-wrap:nowrap;min-width:0}.nav-wrap .brand{min-width:0;white-space:normal;line-height:1.25}.nav-wrap .brand-mark{flex-shrink:0}.menu-toggle{flex-shrink:0}.site-nav{max-height:calc(100dvh - 110px);overflow-y:auto}.home .hero-inner{min-height:0;padding:30px 0;align-items:start}.home .hero-inner>*{min-width:0}.home .hero h1{font-size:clamp(28px,8vw,36px);line-height:1.18;overflow-wrap:normal}.home .hero p{font-size:15px;overflow-wrap:anywhere}.home .eyebrow{line-height:1.5}.home .tcg-search{width:100%;max-width:100%}.home .tcg-search button{flex-shrink:0;min-height:44px}.home .hero-actions .btn{min-height:44px}.home .hero-art{display:none}}
@media(max-width:600px){.admin-bar .site-header{top:0}}

/* Shared page fit and content-specific reading widths */
.nav-wrap>*{min-width:0}.page-main>.container{min-width:0}.page-main .entry{max-width:820px}.woocommerce-cart .page-main .entry,.woocommerce-checkout .page-main .entry,.woocommerce-account .page-main .entry{max-width:1280px}.ct-workspace>.container{max-width:900px}.ct-workspace .ct-card form{gap:10px}.ct-workspace .ct-card input,.ct-workspace .ct-card textarea,.ct-workspace .ct-card select{min-width:0;max-width:100%}.ct-workspace .ct-card button{max-width:100%;white-space:normal}.ct-workspace .ct-card h2{display:block;font-size:20px}.ct-result{max-width:100%;min-width:0}.section-head>div{min-width:0}.section-link{overflow-wrap:anywhere}.footer-grid>div{min-width:0;overflow-wrap:anywhere}.footer .brand{white-space:normal}.entry table{display:block;max-width:100%;overflow-x:auto}.entry iframe{max-width:100%}.entry pre{white-space:pre-wrap;overflow-wrap:anywhere}.home .hero-inner>div{min-width:0}.home .hero h1{overflow-wrap:normal}.home .hero-art{isolation:isolate}.home .hero-art .dash-top{flex-wrap:wrap}.home-tools .ct-card h3,.ct-directory .ct-card h2{overflow-wrap:anywhere}.home-tools .ct-card .btn{min-height:40px}.ct-directory .ct-card{justify-content:flex-start}.ct-directory .ct-card .btn{margin-top:auto}.ct-directory .ct-card p{max-width:32ch}.market-preview p{min-width:0}.page-main h1{font-size:clamp(26px,2.4vw,34px)}
@media(min-width:701px){.ct-workspace .ct-card form{grid-template-columns:minmax(0,1fr)}.ct-workspace .ct-card form>button{justify-self:start}.home .hero-inner{align-items:center}.home .hero-art{min-height:410px}}
@media(max-width:1000px){.home .hero h1{overflow-wrap:anywhere}.home .hero-art{min-height:300px}.site-nav{gap:8px}.brand{font-size:15px}}
@media(max-width:700px){.container,.home .container{width:calc(100% - 28px)} .site-header{position:sticky;top:0}.admin-bar .site-header{top:46px}.nav-wrap .brand{font-size:14px}.site-nav{z-index:90;max-height:70dvh}.home .hero-inner{padding:30px 0;min-height:0}.home .hero h1{font-size:clamp(28px,8vw,36px);overflow-wrap:anywhere}.home .hero-art{display:none}.archive-grid,#insights .grid{grid-template-columns:minmax(0,1fr)}.editorial-thumb,.editorial-thumb img{height:auto;aspect-ratio:16/9}.ct-workspace .ct-card{padding:14px}.ct-workspace .ct-card form>button{min-height:44px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-tools .ct-card .btn{min-height:44px}.page-main h1{font-size:26px}.market-preview{align-items:flex-start}.market-preview p{flex-basis:100%}}
@media(max-width:360px){.nav-wrap .brand{font-size:12px;gap:5px}.menu-toggle{padding:6px 8px}.footer-grid{grid-template-columns:1fr}.home .hero-actions .btn{width:100%}}

/* Executive composition: shared gutters, adaptive editorial and balanced footer */
.container,.home .container{width:calc(100% - clamp(32px,8vw,144px));max-width:1600px}
.home .hero h1{font-size:clamp(42px,4.2vw,72px);line-height:1.13}
.home .hero-art{min-height:clamp(320px,32vw,480px)}
.home .hero-art .orb{left:18%;top:12%}
.home .hero-art .dash{right:4%;top:24%}
.home .hero-art .mini-card{left:3%;bottom:8%}
.home .section{padding:32px 0}
.home .section-head{margin-bottom:18px}
.home-tools .ct-grid{gap:16px!important}
.home-tools .ct-card{padding:16px 12px;gap:8px}
.home-tools .ct-card p{max-width:30ch}
.home-tools .ct-card .btn{margin-top:auto}
#insights .grid:has(> .article-card:only-child){grid-template-columns:1fr}
#insights .article-card:only-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#insights .article-card:only-child .editorial-thumb,#insights .article-card:only-child .editorial-thumb img{height:100%;min-height:210px;object-fit:cover}
#insights .article-card:only-child .article-info{padding:24px;justify-content:center;gap:10px}
#insights .article-card:only-child h3{font-size:clamp(18px,2vw,26px)}
#insights .article-card:only-child .section-link{margin-top:8px}
#free-tools>.container>.grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
#free-tools>.container>.grid>.tool{grid-column:auto!important;padding:20px}
#free-tools form .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.footer-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr) minmax(0,.7fr) minmax(0,2fr);gap:28px}
.footer-grid>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;align-content:start}
.footer-grid>div:last-child h4{grid-column:1/-1}
@media(max-width:1000px){.container,.home .container{width:calc(100% - 48px)}.home .hero-inner{min-height:520px;padding:40px 0;gap:20px}.home .hero h1{font-size:clamp(34px,5vw,48px)}.home .hero-art{min-height:300px}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.container,.home .container{width:calc(100% - 28px)}.home .hero-inner{min-height:0;grid-template-columns:minmax(0,1fr);padding:36px 0}.home .hero h1{font-size:clamp(28px,8vw,38px);overflow-wrap:anywhere}.home .section{padding:24px 0}.home-tools .ct-grid{gap:8px!important}.home-tools .ct-card{padding:12px 8px;gap:6px}#insights .article-card:only-child{grid-template-columns:1fr}#insights .article-card:only-child .editorial-thumb{min-height:0;aspect-ratio:16/9}#insights .article-card:only-child .editorial-thumb img{min-height:0}#insights .article-card:only-child .article-info{padding:16px}#free-tools>.container>.grid,#free-tools form .grid{grid-template-columns:minmax(0,1fr)}.footer-grid{gap:16px}.footer-grid>div:last-child{grid-column:1/-1}.footer-grid>div:first-child{grid-column:1/-1}}

/* Compact executive workspaces: inputs and live report side by side */
.ct-workspace>.container{max-width:1240px}
.ct-workspace .ct-card{padding:18px;margin:12px 0}
.ct-workspace .ct-card>h2{display:none}
.ct-workspace .ct-card>p{margin-bottom:10px}
.ct-workspace .ct-card form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.ct-input-panel,.ct-output-panel{min-width:0;display:flex;flex-direction:column;gap:6px}
.ct-input-panel label{font-size:13px;line-height:1.4;margin-top:3px}
.ct-input-panel input,.ct-input-panel select,.ct-input-panel textarea{padding:7px 9px;min-height:36px;font-size:14px;line-height:1.4}
.ct-input-panel textarea{min-height:64px;resize:vertical}
.ct-output-panel{background:#f3f7f8;border:1px solid var(--line);border-radius:9px;padding:14px}
.ct-output-panel h3{font-size:16px;margin:0 0 4px}
.ct-output-panel .ct-result{background:white;margin:0;padding:12px;min-height:90px;font-size:14px;line-height:1.5}
.ct-output-panel .ct-viz:empty{display:none}
.ct-output-panel .ct-viz{gap:5px;font-size:12px}
.ct-output-panel .ct-viz progress{height:12px}
.ct-output-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.ct-workspace .ct-actions{margin:6px 0 0}
.ct-workspace .ct-actions button,.ct-output-actions button{min-height:36px;padding:6px 10px;font-size:12px}
@media(max-width:700px){.ct-workspace .ct-card{padding:12px}.ct-workspace .ct-card form{grid-template-columns:minmax(0,1fr);gap:14px}.ct-input-panel input,.ct-input-panel select,.ct-input-panel textarea{font-size:16px;min-height:40px}.ct-output-actions button,.ct-workspace .ct-actions button{min-height:44px}}
@media print{.ct-workspace .ct-input-panel,.ct-output-actions{display:none!important}.ct-workspace .ct-card form{display:block}.ct-output-panel{border:0;background:white}}

/* Mobile navigation and viewport fit */
@media(max-width:700px){
.site-header{position:sticky;top:0;z-index:100;background:var(--navy)}
.admin-bar .site-header{top:46px}
html{scroll-padding-top:72px}
.site-nav{max-height:calc(100dvh - 120px);overflow-y:auto;overscroll-behavior:contain}
.home .hero-inner{min-height:calc(100svh - 56px);padding:clamp(32px,6svh,60px) 0;align-content:center;align-items:center}
.home .hero h1{font-size:clamp(30px,8.5vw,42px);line-height:1.15}
.home .hero p{font-size:16px;line-height:1.55}
.home .hero-actions{gap:10px}
.home .hero-actions .btn{min-height:44px}
.home .hero-art{display:none}
}
@media(max-width:600px){.admin-bar .site-header{top:0}}
@media print{.site-header{display:none!important}}


/* Executive motion system v2 */
@media(prefers-reduced-motion:no-preference){
.home .hero{background-size:125% 125%;animation:tcg-light 16s ease-in-out infinite alternate}
.home .hero-art .orb{animation:tcg-orb 9s ease-in-out infinite;box-shadow:0 0 65px #5ce5d42b}
.home .hero-art .glow{animation:tcg-glow 7s ease-in-out infinite}
.home .hero-art .dash{animation:tcg-drift 8s ease-in-out infinite;background:linear-gradient(145deg,#244d5b,#102b3b)}
.home .hero-art .mini-card{animation:tcg-drift 9s ease-in-out -4s infinite}
.home .hero-art .float-pill{animation:tcg-drift 7s ease-in-out -2s infinite}
.home .hero-art .dash:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,transparent 25%,#b4fff018 48%,transparent 72%);background-size:250% 100%;animation:tcg-scan 7s linear infinite}
.home .hero-art .bar{transform-origin:center bottom;animation:tcg-chart 7s ease-in-out infinite}
.home .hero-art .bar:nth-child(2){animation-delay:-.2s}.home .hero-art .bar:nth-child(3){animation-delay:-.4s}.home .hero-art .bar:nth-child(4){animation-delay:-.6s}
.home .hero-art .meter{position:relative;overflow:hidden}
.home .hero-art .meter:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#fff9,transparent);animation:tcg-meter 4s ease-in-out infinite}
.ct-directory .ct-card,.product-card,.article-card{transition:transform .25s,box-shadow .25s,border-color .25s}
@media(hover:hover) and (pointer:fine){.ct-directory .ct-card:hover,.product-card:hover,.article-card:hover{transform:translateY(-4px);border-color:#8fc8c5;box-shadow:0 12px 28px #13233318}.ct-card:hover .tool-symbol{transform:scale(1.08)}}
.tool-symbol{transition:transform .25s}
@keyframes tcg-light{from{background-position:0% 40%}to{background-position:100% 60%}}
@keyframes tcg-orb{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-10px) scale(1.035)}}
@keyframes tcg-glow{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes tcg-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes tcg-scan{from{background-position:100% 0}to{background-position:0 0}}
@keyframes tcg-chart{0%,100%{opacity:1;filter:brightness(1)}45%{opacity:.85;filter:brightness(1.18)}}
@keyframes tcg-meter{0%{transform:translateX(-100%)}65%,100%{transform:translateX(100%)}}
}

/* Executive analytics accents */
.home .hero-art .tcg-orbit{position:absolute;left:10%;top:18%;width:70%;height:65%;border:1px solid #80fff02b;border-radius:50%;transform:rotate(-24deg);pointer-events:none}
.home .hero-art .orbit-b{transform:rotate(32deg);border-color:#80fff018}
.tcg-orbit:after{content:"";position:absolute;top:50%;left:-3px;width:6px;height:6px;background:#8affed;border-radius:50%;box-shadow:0 0 12px #65efdb}
.home .hero-art .insight-chip{top:0;left:2%;width:clamp(140px,28%,205px);padding:12px;display:grid;gap:3px;background:linear-gradient(145deg,#163c4b,#102a38);z-index:2}
.insight-chip small,.insight-chip span{font-size:9px;color:#b8d4dc}.insight-chip strong{font-size:13px}.insight-chip svg{width:100%;height:28px}
.tcg-signal{position:absolute;left:8%;top:48%;display:flex;gap:7px}.tcg-signal i{width:5px;height:5px;border-radius:50%;background:#65efdb}
.tcg-insight-cycle{display:grid;min-height:2.8em}.tcg-insight-cycle>span{grid-area:1/1}.tcg-insight-cycle>span:not(:first-child){visibility:hidden}
@media(min-width:701px) and (max-width:1000px){.home .hero-art .insight-chip{width:135px;padding:8px}.insight-chip svg{height:18px}}
@media(prefers-reduced-motion:no-preference){
.home .hero-art .orbit-a{animation:tcg-orbit-a 18s linear infinite}.home .hero-art .orbit-b{animation:tcg-orbit-b 24s linear infinite}
.insight-chip svg path{stroke-dasharray:180;animation:tcg-line-draw 6s ease-in-out infinite}
.tcg-signal i{animation:tcg-signal-pulse 2s ease-in-out infinite}.tcg-signal i:nth-child(2){animation-delay:.25s}.tcg-signal i:nth-child(3){animation-delay:.5s}
.tcg-insight-cycle>span{visibility:visible!important;animation:tcg-copy-cycle 15s linear infinite;opacity:0}.tcg-insight-cycle>span:nth-child(2){animation-delay:-10s}.tcg-insight-cycle>span:nth-child(3){animation-delay:-5s}
@keyframes tcg-copy-cycle{0%,29%{opacity:1}33%,96%{opacity:0}100%{opacity:1}}
@keyframes tcg-orbit-a{from{transform:rotate(-24deg)}to{transform:rotate(336deg)}}@keyframes tcg-orbit-b{from{transform:rotate(32deg)}to{transform:rotate(-328deg)}}
@keyframes tcg-line-draw{0%{stroke-dashoffset:180}35%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:-180}}
@keyframes tcg-signal-pulse{0%,100%{opacity:.25}50%{opacity:1;box-shadow:0 0 9px #65efdb}}
}

/* Six-period illustrative performance chart */
.home .hero-art .bars,.home .hero-art .bar-labels{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(3px,.45vw,8px)}
.home .hero-art .bar{width:100%;min-width:0;position:relative;border-radius:4px 4px 0 0}
.home .hero-art .bar:after{left:50%;transform:translateX(-50%);white-space:nowrap;font-size:clamp(8px,.65vw,11px)}
.home .hero-art .bar-labels{text-align:center;font-size:clamp(8px,.65vw,11px)}
.home .hero-art .bar:nth-child(5){background:linear-gradient(#c4c5ff,#7774db)}
.home .hero-art .bar:nth-child(6){background:linear-gradient(#f5b9e3,#c65d9c)}
.home .hero-art .bar:nth-child(7){background:linear-gradient(#a5edff,#409ab8)}
.home .hero-art .bar:nth-child(8){background:linear-gradient(#d4ffba,#68bb81)}
.home .hero-art .bar:nth-child(5){animation-delay:-.8s}
.home .hero-art .bar:nth-child(6){animation-delay:-1s}
.home .hero-art .bar:nth-child(7){animation-delay:-1.2s}
.home .hero-art .bar:nth-child(8){animation-delay:-1.4s}

/* Rotating executive topic beacon */
.home .hero-art .tcg-topic-signal{left:3%;top:auto;bottom:0;z-index:4;align-items:center;gap:8px;max-width:94%;padding:6px 10px;border:1px solid #65efdb38;border-radius:20px;background:#102d3be8;color:#bdf8ee;font-size:clamp(10px,.85vw,13px);line-height:1.4;pointer-events:none}
.tcg-topic-signal i{flex:0 0 6px;width:6px;height:6px;box-shadow:0 0 8px #65efdb}
.tcg-topic-cycle{display:grid;white-space:nowrap}
.tcg-topic-cycle>span{grid-area:1/1;visibility:hidden}
.tcg-topic-cycle>span:first-child{visibility:visible}
@media(prefers-reduced-motion:no-preference){
.tcg-topic-cycle>span{visibility:visible;opacity:0;animation:tcg-topic-rotate 30s linear infinite}
.tcg-topic-cycle>span:nth-child(2){animation-delay:-25s}
.tcg-topic-cycle>span:nth-child(3){animation-delay:-20s}
.tcg-topic-cycle>span:nth-child(4){animation-delay:-15s}
.tcg-topic-cycle>span:nth-child(5){animation-delay:-10s}
.tcg-topic-cycle>span:nth-child(6){animation-delay:-5s}
@keyframes tcg-topic-rotate{0%,2%{opacity:0;transform:translateY(3px)}4%,13%{opacity:1;transform:translateY(0)}16.5%,100%{opacity:0;transform:translateY(-3px)}}
}
@media(max-width:1000px){.home .hero-art .tcg-topic-signal{left:auto;right:0;bottom:0}}

/* Mobile homepage: content-first, desktop animation retained */
@media(max-width:700px){
.home .hero-art{display:none!important}
.home .hero-inner{grid-template-columns:minmax(0,1fr);min-height:65vh!important;min-height:65svh!important;height:auto!important;gap:0;padding:clamp(30px,5svh,48px) 0;align-content:center;box-sizing:border-box}
}
