/*
Theme Name: Labtekton
Theme URI: https://labtekton.com
Author: Labtekton
Description: Custom theme for Labtekton, an independent scientific technology, knowledge and consulting platform. No page builder required.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: labtekton
*/
:root{
	--navy:#0A1B33;--navy-2:#12315A;--ink:#17263B;--muted:#53657C;
	--teal:#0B7F86;--teal-2:#0FA3A3;--cyan:#5ED4E6;--cyan-soft:#E4F7FA;
	--grey:#F2F5F8;--line:#D9E1EA;--white:#fff;--ok:#0B6B3A;--warn:#8A5A00;
	--head:"Manrope","Helvetica Neue",Helvetica,Arial,sans-serif;
	--body:"Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
	--w:1180px;--r:6px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;font:400 17px/1.65 var(--body);color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;height:auto}
a{color:var(--teal);text-underline-offset:3px}
a:hover{color:var(--navy-2)}
:focus-visible{outline:3px solid var(--teal-2);outline-offset:3px;border-radius:2px}
h1,h2,h3{font-family:var(--head);color:var(--navy);line-height:1.15;margin:0 0 .5em;letter-spacing:-.01em}
h1{font-size:clamp(2.2rem,5vw,3.7rem);font-weight:800}
h2{font-size:clamp(1.6rem,3vw,2.3rem);font-weight:700}
h3{font-size:1.2rem;font-weight:700}
p{margin:0 0 1em}
.wrap{max-width:var(--w);margin:0 auto;padding:0 24px}
.narrow{max-width:760px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--navy);color:#fff;padding:10px 16px;z-index:100}
.skip:focus{left:8px}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}

/* Buttons */
.btn{display:inline-block;font:700 .98rem/1 var(--head);padding:15px 24px;border-radius:var(--r);border:2px solid transparent;text-decoration:none;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.btn-primary{background:var(--teal-2);color:var(--navy);border-color:var(--teal-2)}
.btn-primary:hover{background:var(--cyan);border-color:var(--cyan);color:var(--navy)}
.btn-ghost{color:#fff;border-color:rgba(255,255,255,.5)}
.btn-ghost:hover{background:rgba(255,255,255,.1);color:#fff;border-color:#fff}
.btn-ghost-dark{color:var(--navy);border-color:var(--navy)}
.btn-ghost-dark:hover{background:var(--navy);color:#fff}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--navy);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.brand:hover{color:#fff}
.brand-mark{width:30px;height:30px;color:var(--cyan)}
.brand-name{font:800 1.35rem/1 var(--head);letter-spacing:.01em}
.brand-logo{max-height:44px;width:auto}
.primary-nav{display:flex;align-items:center;gap:20px}
.menu{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.menu li{position:relative}
.menu a{display:block;color:#D5E2F2;text-decoration:none;font:600 .9rem/1 var(--head);padding:12px 10px}
.menu a:hover,.menu .current-menu-item>a{color:#fff}
.menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:260px;list-style:none;margin:0;padding:8px;background:var(--navy-2);border-radius:var(--r);box-shadow:0 12px 30px rgba(0,0,0,.3)}
.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}
.menu .sub-menu a{padding:10px 12px;font-weight:500}
.nav-cta{padding:12px 18px;font-size:.85rem;white-space:nowrap}
.nav-toggle{display:none;background:none;border:1px solid rgba(255,255,255,.35);border-radius:var(--r);width:44px;height:44px;cursor:pointer;color:#fff}
.bars,.bars::before,.bars::after{display:block;width:20px;height:2px;background:#fff;position:relative;margin:auto}
.bars::before,.bars::after{content:"";position:absolute;left:0}
.bars::before{top:-6px}.bars::after{top:6px}

/* Hero */
.hero{background:radial-gradient(1200px 600px at 85% 20%,#14396b 0%,var(--navy) 60%);color:#fff;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:32px;align-items:center;padding-top:72px;padding-bottom:72px;min-height:620px}
.hero h1{color:#fff;max-width:14ch}
.hero .lede{color:#C7D6EA;font-size:1.2rem;max-width:34em}
.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.hero-art{width:100%;color:var(--cyan)}
.hero-art .net-edges{opacity:.28}
.hero-art .strand-a{stroke:var(--cyan)}
.hero-art .strand-b{stroke:var(--teal-2)}
.hero-art .helix-rungs{opacity:.5}
.hero-art .node{fill:var(--navy);stroke:var(--cyan);stroke-width:2}
.hero-art .node-live{fill:var(--teal-2);stroke:none}
.hero-art .trace{stroke:var(--teal-2);opacity:.7}
.hero-art .strand{stroke-dasharray:1400;stroke-dashoffset:1400;animation:draw 2.4s ease-out .2s forwards}
.hero-art .node-live{animation:pulse 3.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes pulse{50%{opacity:.45;transform:scale(1.35)}}

/* Sections */
.section{padding:88px 0}
.band{background:var(--grey)}
.sec-title{margin-bottom:1.2em}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:1.2em}
.sec-head .sec-title{margin:0}
.lede{font-size:1.18rem;color:var(--muted)}
.intro h2{font-size:clamp(1.8rem,3.5vw,2.7rem)}
.prose{max-width:70ch}.prose.narrow,.narrow .prose{max-width:none}
.prose h2{margin-top:1.6em}.prose h3{margin-top:1.4em}
.prose img{border-radius:var(--r)}
.split{display:grid;grid-template-columns:1fr 1.3fr;gap:56px;align-items:start}
.empty{color:var(--muted);border:1px dashed var(--line);border-radius:var(--r);padding:28px;background:#fff}
.note{color:var(--muted);font-size:.92rem;border-left:3px solid var(--cyan);padding:2px 0 2px 14px;margin:1.4em 0}
.crumb{font-size:.9rem;margin-bottom:.6em}

/* Pillars */
.pillars{display:grid;grid-template-columns:repeat(3,1fr)}
.pillar{padding:72px 40px;display:flex}
.pillar-in{max-width:360px;margin:0 auto}
.pillar .art{width:72px;height:72px;margin-bottom:24px}
.pillar h2{font-size:1.6rem}
.pillar h2 a{text-decoration:none;color:inherit}
.p-navy{background:var(--navy-2);color:#C7D6EA}.p-navy h2{color:#fff}.p-navy .art{color:var(--cyan)}
.p-teal{background:var(--cyan-soft)}.p-teal .art{color:var(--teal)}
.p-light{background:var(--grey)}.p-light .art{color:var(--navy-2)}

/* Technology grid */
.tech-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line)}
.tech-grid li{padding:32px 28px 32px 0;border-bottom:1px solid var(--line)}
.tech-grid .art{width:56px;height:56px;color:var(--teal);margin-bottom:14px}
.tech-grid h3{margin-bottom:.3em}
.tech-grid p{color:var(--muted);font-size:.98rem;margin-bottom:.6em}

/* Services */
.service-rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.service-rows a{display:block;padding:20px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.service-rows strong{display:block;font:700 1.1rem var(--head);color:var(--navy)}
.service-rows span{color:var(--muted);font-size:.96rem}
.service-rows a:hover strong{color:var(--teal)}
.service-grid{display:grid;grid-template-columns:200px 1fr;gap:48px;align-items:start}
.service-art .art{width:160px;height:160px;color:var(--teal)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:1.4em 0}
.two-col ul,.tech-list{margin:0;padding-left:1.2em}
.two-col li,.tech-list li{margin-bottom:.4em}
.tech-list{columns:2;column-gap:40px;margin-bottom:1.2em}

/* Cards and articles */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.post-card .thumb,.feature .thumb{display:block;aspect-ratio:16/10;background:var(--navy-2);border-radius:var(--r);overflow:hidden;margin-bottom:16px}
.post-card .thumb img,.feature .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thumb-art{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:var(--cyan)}
.thumb-art .art{width:84px;height:84px}
.post-card h3 a,.feature h3 a,.latest a{color:var(--navy);text-decoration:none}
.post-card h3 a:hover,.feature h3 a:hover,.latest a:hover{color:var(--teal);text-decoration:underline}
.post-card p{color:var(--muted);font-size:.96rem}
.meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:.84rem;color:var(--muted);margin-bottom:8px}
.meta-cat{color:var(--teal);font-weight:600}
.knowledge{display:grid;grid-template-columns:1.4fr 1fr;gap:56px}
.feature h3{font-size:1.7rem}
.latest{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.latest li{padding:18px 0;border-bottom:1px solid var(--line)}
.latest a{font:700 1.05rem/1.3 var(--head)}
.chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 32px;padding:0}
.chips a,.chips button{display:inline-block;font:600 .88rem var(--head);padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);text-decoration:none;cursor:pointer}
.chips a:hover,.chips button:hover,.chips [aria-current],.chips [aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}
.pagination,.page-numbers{margin-top:40px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap}
.page-numbers{display:inline-block;padding:8px 14px;border:1px solid var(--line);border-radius:var(--r);text-decoration:none}
.page-numbers.current{background:var(--navy);color:#fff;border-color:var(--navy)}

/* Page heads */
.page-head{background:var(--navy);color:#fff;padding:72px 0 64px}
.page-head h1{color:#fff;max-width:20ch;margin-bottom:.35em}
.page-head .lede{color:#C7D6EA;max-width:44em;margin:0}
.page-head .crumb a{color:var(--cyan)}
.hub-search{display:flex;gap:10px;margin-top:28px;max-width:560px}
.hub-search input{flex:1}

/* Article */
.article-head{padding:64px 0 24px}
.article-head h1{font-size:clamp(2rem,4.2vw,3.1rem)}
.byline{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.95rem}
.byline img,.author-box img{border-radius:50%}
.article-img img{width:100%;border-radius:var(--r);margin-bottom:24px}
.article-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;padding-bottom:72px}
.article-grid:not(:has(.toc)){grid-template-columns:minmax(0,760px);justify-content:center}
.toc{position:sticky;top:96px;align-self:start;font-size:.92rem;border-left:2px solid var(--line);padding-left:16px}
.toc-title{font:700 .95rem var(--head);color:var(--navy);margin-bottom:8px}
.toc ol{list-style:none;margin:0;padding:0}
.toc li{margin-bottom:8px}.toc .l3{padding-left:14px}
.toc a{color:var(--muted);text-decoration:none}.toc a:hover{color:var(--teal)}
.article-body{max-width:760px;font-size:1.06rem}
.article-body figure{margin:2em 0}
.article-body figcaption{font-size:.88rem;color:var(--muted)}
.article-body table,.spec-table{width:100%;border-collapse:collapse;font-size:.95rem;margin:1.6em 0}
.article-body th,.article-body td,.spec-table th,.spec-table td{border-bottom:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.article-body thead th,.spec-table thead th{background:var(--grey);font-family:var(--head)}
.table-wrap{overflow-x:auto}
.refs{font-size:.92rem;color:var(--muted);word-break:break-word}
.share{font-size:.92rem}.share a{margin-right:12px}
.tags a{margin-right:8px;font-size:.9rem}
.author-box{display:flex;gap:16px;margin-top:2.5em;padding-top:1.5em;border-top:1px solid var(--line)}
.author-name{font:700 1.05rem var(--head);color:var(--navy);margin:0 0 .2em}

/* Comparison */
.legend{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;color:var(--muted);font-size:.92rem}
.badge{display:inline-block;font:700 .74rem/1 var(--head);padding:5px 9px;border-radius:999px;margin-right:4px}
.badge-verified{background:#DDF3E6;color:var(--ok)}
.badge-claimed{background:#FFF0D1;color:var(--warn)}
.legend-demo p{margin-bottom:14px;color:var(--muted)}
.cmp-list{list-style:none;margin:0 0 24px;padding:0;border-top:1px solid var(--line)}
.cmp-list li{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}
.cmp-list h3{margin:0}.cmp-list p{margin:0;color:var(--muted);font-size:.94rem}
.cmp-list li[hidden]{display:none}
.cmp-pick{font-weight:600;font-size:.92rem;white-space:nowrap;cursor:pointer}
.cmp-out{overflow-x:auto;margin:32px 0}
.cmp-out table{width:100%;border-collapse:collapse;min-width:640px}
.cmp-out th,.cmp-out td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top;font-size:.94rem}
.cmp-out thead th{background:var(--navy);color:#fff;font-family:var(--head)}
.cmp-out tbody th{background:var(--grey);width:18%}
.compare-teaser{background:var(--cyan-soft)}
.tool{border:1px solid var(--line);border-radius:var(--r);padding:28px}
.tool .art{width:56px;height:56px;color:var(--teal)}
.planned{columns:2;padding-left:1.2em}

/* Forms */
.form,.subscribe{display:grid;gap:18px}
.form label{display:grid;gap:6px;font:600 .94rem var(--head);color:var(--navy)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
input,select,textarea{font:400 1rem var(--body);padding:13px 14px;border:1px solid #AEBBCB;border-radius:var(--r);background:#fff;color:var(--ink);width:100%}
textarea{resize:vertical}
.notice{padding:14px 18px;border-radius:var(--r);margin-bottom:20px}
.notice-ok{background:#DDF3E6;color:var(--ok)}.notice-err{background:#FBE1E1;color:#8B1A1A}
.contact-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:64px}
.newsletter{background:var(--navy);color:#C7D6EA;text-align:center}
.newsletter h2{color:#fff}
.subscribe{grid-template-columns:1fr auto;max-width:520px;margin:24px auto 0;text-align:left}
.cta{text-align:center}
.founder-img img{border-radius:var(--r);max-width:220px;margin-bottom:16px}

/* Footer */
.site-footer{background:var(--navy);color:#B7C7DC;padding:64px 0 24px;font-size:.95rem}
.site-footer a{color:#D5E2F2}
.foot-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:48px}
.foot-brand{font:800 1.5rem var(--head);color:#fff;margin:0 0 .2em}
.foot-links{list-style:none;margin:0;padding:0;columns:2}
.foot-links li{margin-bottom:8px}
.social{list-style:none;display:flex;gap:16px;padding:0}
.foot-base{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:.88rem}
.foot-base a{margin-left:16px}

/* WordPress core classes */
.alignwide{max-width:var(--w)}.alignleft{float:left;margin:0 1.4em 1em 0}.alignright{float:right;margin:0 0 1em 1.4em}.aligncenter{margin-left:auto;margin-right:auto;display:block}
.wp-caption-text,.gallery-caption{font-size:.88rem;color:var(--muted)}

/* Responsive */
@media (max-width:980px){
	.nav-toggle{display:block}
	.primary-nav{display:none;position:absolute;left:0;right:0;top:72px;background:var(--navy);flex-direction:column;align-items:stretch;padding:16px 24px 28px;max-height:calc(100vh - 72px);overflow:auto}
	.primary-nav.open{display:flex}
	.menu{flex-direction:column}
	.menu .sub-menu{display:block;position:static;box-shadow:none;background:none;padding:0 0 0 14px}
	.hero-grid,.split,.knowledge,.contact-grid,.foot-grid,.article-grid{grid-template-columns:1fr}
	.hero-grid{min-height:0;padding-top:48px}.hero-visual{order:-1;max-width:420px;margin:0 auto}
	.pillars,.card-grid,.tech-grid{grid-template-columns:1fr}
	.tech-grid li{padding-right:0}
	.service-grid{grid-template-columns:1fr;gap:20px}.service-art .art{width:96px;height:96px}
	.toc{position:static}
	.section{padding:60px 0}
}
@media (max-width:600px){
	body{font-size:16px}
	.row,.two-col,.subscribe{grid-template-columns:1fr}
	.tech-list,.planned,.foot-links{columns:1}
	.hub-search{flex-direction:column}
	.cmp-list li{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
	html{scroll-behavior:auto}
	.hero-art .strand{animation:none;stroke-dashoffset:0}
	.hero-art .node-live{animation:none}
	*{transition:none!important}
}
